AngularJS API Manual
Method
- auto.$injector.get(name, [caller]);
- auto.$injector.invoke(fn, [self], [locals]);
- auto.$injector.has(name);
- auto.$injector.instantiate(Type, [locals]);
- auto.$injector.annotate(fn, [strictDi]);
- auto.$provide.provider(name, provider);
- auto.$provide.factory(name, $getFn);
- auto.$provide.service(name, constructor);
- auto.$provide.value(name, value);
- auto.$provide.constant(name, value);
- auto.$provide.decorator(name, decorator);
- ng.$anchorScrollProvider.disableAutoScrolling();
- ng.$animateProvider.register(name, factory);
- ng.$animateProvider.classNameFilter([expression]);
- ng.$compileProvider.directive(name, directiveFactory);
- ng.$compileProvider.component(name, options);
- ng.$compileProvider.aHrefSanitizationWhitelist([regexp]);
- ng.$compileProvider.imgSrcSanitizationWhitelist([regexp]);
- ng.$compileProvider.debugInfoEnabled([enabled]);
- ng.$compileProvider.onChangesTtl(limit);
- ng.$controllerProvider.has(name);
- ng.$controllerProvider.register(name, constructor);
- ng.$controllerProvider.allowGlobals();
- ng.$filterProvider.register(name, factory);
- ng.$httpProvider.useApplyAsync([value]);
- ng.$httpProvider.useLegacyPromiseExtensions([value]);
- ng.$interpolateProvider.startSymbol([value]);
- ng.$interpolateProvider.endSymbol([value]);
- ng.$locationProvider.hashPrefix([prefix]);
- ng.$locationProvider.html5Mode([mode]);
- ng.$logProvider.debugEnabled([flag]);
- ng.$parseProvider.addLiteral(literalName, literalValue);
- ng.$parseProvider.setIdentifierFns([identifierStart], [identifierContinue]);
- ng.$rootScopeProvider.digestTtl(limit);
- ng.$sceDelegateProvider.resourceUrlWhitelist([whitelist]);
- ng.$sceDelegateProvider.resourceUrlBlacklist([blacklist]);
- ng.$sceProvider.enabled([value]);
- ng.$templateRequestProvider.httpOptions([value]);
- ng.$animate.on(event, container, callback);
- ng.$animate.off(event, [container], [callback]);
- ng.$animate.pin(element, parentElement);
- ng.$animate.enabled([element], [enabled]);
- ng.$animate.cancel(animationPromise);
- ng.$animate.enter(element, parent, [after], [options]);
- ng.$animate.move(element, parent, [after], [options]);
- ng.$animate.leave(element, [options]);
- ng.$animate.addClass(element, className, [options]);
- ng.$animate.removeClass(element, className, [options]);
- ng.$animate.setClass(element, add, remove, [options]);
- ng.$animate.animate(element, from, to, [className], [options]);
- ng.$cacheFactory.info();
- ng.$cacheFactory.get(cacheId);
- ng.$http.get(url, [config]);
- ng.$http.delete(url, [config]);
- ng.$http.head(url, [config]);
- ng.$http.jsonp(url, [config]);
- ng.$http.post(url, data, [config]);
- ng.$http.put(url, data, [config]);
- ng.$http.patch(url, data, [config]);
- ng.$interpolate.startSymbol();
- ng.$interpolate.endSymbol();
- ng.$interval.cancel([promise]);
- ng.$location.absUrl();
- ng.$location.url([url]);
- ng.$location.protocol();
- ng.$location.host();
- ng.$location.port();
- ng.$location.path([path]);
- ng.$location.search(search, [paramValue]);
- ng.$location.hash([hash]);
- ng.$location.replace();
- ng.$location.state([state]);
- ng.$log.log();
- ng.$log.info();
- ng.$log.warn();
- ng.$log.error();
- ng.$log.debug();
- ng.$q.defer();
- ng.$q.reject(reason);
- ng.$q.when(value, [successCallback], [errorCallback], [progressCallback]);
- ng.$q.resolve(value, [successCallback], [errorCallback], [progressCallback]);
- ng.$q.all(promises);
- ng.$sce.isEnabled();
- ng.$sce.parseAs(type, expression);
- ng.$sce.trustAs(type, value);
- ng.$sce.trustAsHtml(value);
- ng.$sce.trustAsUrl(value);
- ng.$sce.trustAsResourceUrl(value);
- ng.$sce.trustAsJs(value);
- ng.$sce.getTrusted(type, maybeTrusted);
- ng.$sce.getTrustedHtml(value);
- ng.$sce.getTrustedCss(value);
- ng.$sce.getTrustedUrl(value);
- ng.$sce.getTrustedResourceUrl(value);
- ng.$sce.getTrustedJs(value);
- ng.$sce.parseAsHtml(expression);
- ng.$sce.parseAsCss(expression);
- ng.$sce.parseAsUrl(expression);
- ng.$sce.parseAsResourceUrl(expression);
- ng.$sce.parseAsJs(expression);
- ng.$sceDelegate.trustAs(type, value);
- ng.$sceDelegate.valueOf(value);
- ng.$sceDelegate.getTrusted(type, maybeTrusted);
- ng.$timeout.cancel([promise]);
- ng.$cacheFactory.Cache.put(key, value);
- ng.$cacheFactory.Cache.get(key);
- ng.$cacheFactory.Cache.remove(key);
- ng.$cacheFactory.Cache.removeAll();
- ng.$cacheFactory.Cache.destroy();
- ng.$cacheFactory.Cache.info();
- ng.$compile.directive.Attributes.$normalize(name);
- ng.$compile.directive.Attributes.$addClass(classVal);
- ng.$compile.directive.Attributes.$removeClass(classVal);
- ng.$compile.directive.Attributes.$updateClass(newClasses, oldClasses);
- ng.$compile.directive.Attributes.$observe(key, fn);
- ng.$compile.directive.Attributes.$set(name, value);
- ng.$rootScope.Scope.$new(isolate, parent);
- ng.$rootScope.Scope.$watch(watchExpression, listener, [objectEquality]);
- ng.$rootScope.Scope.$watchGroup(watchExpressions, listener);
- ng.$rootScope.Scope.$watchCollection(obj, listener);
- ng.$rootScope.Scope.$digest();
- ng.$rootScope.Scope.$destroy();
- ng.$rootScope.Scope.$eval([expression], [locals]);
- ng.$rootScope.Scope.$evalAsync([expression], [locals]);
- ng.$rootScope.Scope.$apply([exp]);
- ng.$rootScope.Scope.$applyAsync([exp]);
- ng.$rootScope.Scope.$on(name, listener);
- ng.$rootScope.Scope.$emit(name, args);
- ng.$rootScope.Scope.$broadcast(name, args);
- ng.angular.Module.provider(name, providerType);
- ng.angular.Module.factory(name, providerFunction);
- ng.angular.Module.service(name, constructor);
- ng.angular.Module.value(name, object);
- ng.angular.Module.constant(name, object);
- ng.angular.Module.decorator(name, decorFn);
- ng.angular.Module.animation(name, animationFactory);
- ng.angular.Module.filter(name, filterFactory);
- ng.angular.Module.controller(name, constructor);
- ng.angular.Module.directive(name, directiveFactory);
- ng.angular.Module.component(name, options);
- ng.angular.Module.config(configFn);
- ng.angular.Module.run(initializationFn);
- ng.form.FormController.$rollbackViewValue();
- ng.form.FormController.$commitViewValue();
- ng.form.FormController.$addControl(control);
- ng.form.FormController.$removeControl(control);
- ng.form.FormController.$setValidity();
- ng.form.FormController.$setDirty();
- ng.form.FormController.$setPristine();
- ng.form.FormController.$setUntouched();
- ng.form.FormController.$setSubmitted();
- ng.ngModel.NgModelController.$render();
- ng.ngModel.NgModelController.$isEmpty(value);
- ng.ngModel.NgModelController.$setValidity(validationErrorKey, isValid);
- ng.ngModel.NgModelController.$setPristine();
- ng.ngModel.NgModelController.$setDirty();
- ng.ngModel.NgModelController.$setUntouched();
- ng.ngModel.NgModelController.$setTouched();
- ng.ngModel.NgModelController.$rollbackViewValue();
- ng.ngModel.NgModelController.$validate();
- ng.ngModel.NgModelController.$commitViewValue();
- ng.ngModel.NgModelController.$setViewValue(value, trigger);
- ngAria.$ariaProvider.config(config);
- ngCookies.$cookies.get(key);
- ngCookies.$cookies.getObject(key);
- ngCookies.$cookies.getAll();
- ngCookies.$cookies.put(key, value, [options]);
- ngCookies.$cookies.putObject(key, value, [options]);
- ngCookies.$cookies.remove(key, [options]);
- ngCookies.$cookieStore.get(key);
- ngCookies.$cookieStore.put(key, value);
- ngCookies.$cookieStore.remove(key);
- ngMock.$exceptionHandlerProvider.mode(mode);
- ngMock.$animate.closeAndFlush();
- ngMock.$animate.flush();
- ngMock.$httpBackend.when(method, url, [data], [headers], [keys]);
- ngMock.$httpBackend.whenGET(url, [headers], [keys]);
- ngMock.$httpBackend.whenHEAD(url, [headers], [keys]);
- ngMock.$httpBackend.whenDELETE(url, [headers], [keys]);
- ngMock.$httpBackend.whenPOST(url, [data], [headers], [keys]);
- ngMock.$httpBackend.whenPUT(url, [data], [headers], [keys]);
- ngMock.$httpBackend.whenJSONP(url, [keys]);
- ngMock.$httpBackend.whenRoute(method, url);
- ngMock.$httpBackend.expect(method, url, [data], [headers], [keys]);
- ngMock.$httpBackend.expectGET(url, [headers], [keys]);
- ngMock.$httpBackend.expectHEAD(url, [headers], [keys]);
- ngMock.$httpBackend.expectDELETE(url, [headers], [keys]);
- ngMock.$httpBackend.expectPOST(url, [data], [headers], [keys]);
- ngMock.$httpBackend.expectPUT(url, [data], [headers], [keys]);
- ngMock.$httpBackend.expectPATCH(url, [data], [headers], [keys]);
- ngMock.$httpBackend.expectJSONP(url, [keys]);
- ngMock.$httpBackend.expectRoute(method, url);
- ngMock.$httpBackend.flush([count]);
- ngMock.$httpBackend.verifyNoOutstandingExpectation();
- ngMock.$httpBackend.verifyNoOutstandingRequest();
- ngMock.$httpBackend.resetExpectations();
- ngMock.$interval.cancel(promise);
- ngMock.$interval.flush([millis]);
- ngMock.$log.reset();
- ngMock.$log.assertEmpty();
- ngMock.$timeout.flush([delay]);
- ngMock.$timeout.verifyNoPendingTasks();
- ngMock.$rootScope.Scope.$countChildScopes();
- ngMock.$rootScope.Scope.$countWatchers();
- ngMockE2E.$httpBackend.when(method, url, [data], [headers], [keys]);
- ngMockE2E.$httpBackend.whenGET(url, [headers], [keys]);
- ngMockE2E.$httpBackend.whenHEAD(url, [headers], [keys]);
- ngMockE2E.$httpBackend.whenDELETE(url, [headers], [keys]);
- ngMockE2E.$httpBackend.whenPOST(url, [data], [headers], [keys]);
- ngMockE2E.$httpBackend.whenPUT(url, [data], [headers], [keys]);
- ngMockE2E.$httpBackend.whenPATCH(url, [data], [headers], [keys]);
- ngMockE2E.$httpBackend.whenJSONP(url, [keys]);
- ngMockE2E.$httpBackend.whenRoute(method, url);
- ngRoute.$routeProvider.when(path, route);
- ngRoute.$routeProvider.otherwise(params);
- ngRoute.$route.reload();
- ngRoute.$route.updateParams(newParams);
- ngSanitize.$sanitizeProvider.enableSvg([regexp]);
- ngTouch.$touchProvider.ngClickOverrideEnabled([enabled]);
- ngTouch.$swipe.bind();
- ngTouch.$touch.ngClickOverrideEnabled();
Service
Module
Directive
Event
Filter
Function
Property
Type
Guide