SyntaxFix
Write A Post
Hire A Developer
Questions
/*link*/ $q.when(scope.regions).then(function(result) { console.log(result); });
var Regions = $resource('mocks/regions.json'); $scope.regions = Regions.query().$promise.then(function(response) { return response; });