 <p>I found the error >> all what i forgot to do is to return data from http get in factory services.js >></p> <pre><code> .factory('stations',['$http',function($http){ var stations = []; return $http.get(base_url+'api/stations/uid/'+uu_id).success(function(response){ stations = response; return stations; }); }]) </code></pre>