 <p>Try Like this : </p> <pre><code>userAccountApp.controller('getCtrl', function($scope,dataSer) { dataSer.Users.query(function(data){ console.log(data) }) }) </code></pre> <p>Write your logic inside callback function.</p>