 <p>cherlietfl is right.</p> <p>The problem is that you break the reference to the messages array since you assign a new array to messages inside your get function. But <code>concat</code> is doing this as well. </p> <p>Try this:</p> <pre><code>Restangular.all('/api/messages/').getList({'_id': userId}).then(function(docs){ messages.splice(0, messages.length); // clear the array messages.push.apply(messages, docs); //add the new content }); </code></pre>