myApp.controller('employersController', ['$scope', function($scope){
api.runAjax("getUser", {
method: "GET"
}).done(function (result) {
$scope.employers = result;
});
}]);
When using {{employers}} in my template along with ng-repeat, I am not able to see anything displayed. My suspicion is that the $scope variable is not being applied because the ajax call does not use $q or $resource. However, when I console log $scope.employers, I do see my array.