.factory('httpErrorResponceInterceptor', ['$rootScope',
//'authFactory',
'$log',
httpErrorResponceInterceptor]);httpErrorResponceInterceptor.$inject = ['$rootScope',
'authFactory',
'$log'];<div ng-repeat = "item in ctrl.items">
{{item.name}}
<div ng-repeat = "row in item.rows">
{{row}}
</div>
</div> $.ajax() возвращает вам promise,var injector = angular.injector(['ng', '%имя вашего модуля%']);
var factory = injector.get('%имя вашей фабрики%');$scope.$apply().ng-blur, ng-change, ng-focus и т.д. var promise = $http.get('data/category.json');
promise
.then(
function(data){
$scope.category = data
},
function(error) {
console.log(error);
}
);promise.then(function1).then(function2).then(function3)link: function postLink(scope, element, attrs, ctrl) {
var ngModel = ctrl;
element.bind('blur', function () {
// здесь можно получить параметры из ngModel через методы ngModelController
});
}ng-show="contactUsForm.userEmail.$error.maxlength && contactUsForm.$submited"service.getTasksList().then( function(data) { controller.tasks = data; });