input

directive in module ng HTML input element control. When used together with ngModel, it provides data-binding, input state control, and validation. Input control follows HTML5 input types and polyfills the HTML5 validation behavior for older browsers. Note: Not every feature offered is available for all input types. Specifically, data binding and event handling via ng-model is unsupported for input[file]. Directive Info This directive executes at priority level 0. Usage as element: <

form.FormController.$error

$error Object Is an object hash, containing references to controls or forms with failing validators, where: keys are validation tokens (error names), values are arrays of controls or forms that have a failing validator for given error name. Built-in validation tokens: email max maxlength min minlength number pattern required url date datetimelocal time week month

$http.post()

post(url, data, [config]); Shortcut method to perform POST request. Parameters Param Type Details url string Relative or absolute URL specifying the destination of the request data * Request content config (optional) Object Optional configuration object Returns HttpPromise Future object

ngDisabled

directive in module ng This directive sets the disabled attribute on the element if the expression inside ngDisabled evaluates to truthy. A special directive is necessary because we cannot use interpolation inside the disabled attribute. See the interpolation guide for more info. Directive Info This directive executes at priority level 100. Usage as attribute: <INPUT ng-disabled="expression"> ... </INPUT> Arguments Param Type Details ngDisabled expression If the exp

ng.type

Name Description angular.Module Interface for configuring angular modules. $cacheFactory.Cache A cache object used to store and retrieve data, primarily used by $http and the script directive to cache templates and other data. $compile.directive.Attributes A shared object between directive compile / linking functions which contains normalized DOM element attributes. The values reflect current binding state {{ }}. The normalization is needed since all of these are treated as equivalent in A

$rootScope

$rootScopeProvider service in module ng Every application has a single root scope. All other scopes are descendant scopes of the root scope. Scopes provide separation between the model and the view, via a mechanism for watching the model for changes. They also provide event emission/broadcast and subscription facility. See the developer guide on scopes.

ngCookies.$cookies.getAll()

getAll(); Returns a key value object with all the cookies Returns Object All cookies

ngModel.NgModelController.$setUntouched()

$setUntouched(); Sets the control to its untouched state. This method can be called to remove the ng-touched class and set the control to its untouched state (ng-untouched class). Upon compilation, a model is set as untouched by default, however this function can be used to restore that state if the model has already been touched by the user.

ngAria.$ariaProvider.config()

config(config); Enables/disables various ARIA attributes Parameters Param Type Details config object object to enable/disable specific ARIA attributes ariaHidden â {boolean} â Enables/disables aria-hidden tags ariaChecked â {boolean} â Enables/disables aria-checked tags ariaDisabled â {boolean} â Enables/disables aria-disabled tags ariaRequired â {boolean} â Enables/disables aria-required tags ariaInvalid â {boolean} â Enables/disables aria-invalid tags

$sceDelegate

$sceDelegateProvider service in module ng $sceDelegate is a service that is used by the $sce service to provide Strict Contextual Escaping (SCE) services to AngularJS. Typically, you would configure or override the $sceDelegate instead of the $sce service to customize the way Strict Contextual Escaping works in AngularJS. This is because, while the $sce provides numerous shorthand methods, etc., you really only need to override 3 core functions (trustAs, getTrusted and valueOf) to replac