ngClick

directive in module ng The ngClick directive allows you to specify custom behavior when an element is clicked. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-click="expression"> ... </ANY> Arguments Param Type Details ngClick expression Expression to evaluate upon click. (Event object is available as $event)

$compileProvider.component()

component(name, options); Register a component definition with the compiler. This is a shorthand for registering a special type of directive, which represents a self-contained UI component in your application. Such components are always isolated (i.e. scope: {}) and are always restricted to elements (i.e. restrict: 'E'). Component definitions are very simple and do not require as much configuration as defining general directives. Component definitions usually consist only of a template and a c

ngBindHtml

directive in module ng Evaluates the expression and inserts the resulting HTML into the element in a secure way. By default, the resulting HTML content will be sanitized using the $sanitize service. To utilize this functionality, ensure that $sanitize is available, for example, by including ngSanitize in your module's dependencies (not in core Angular). In order to use ngSanitize in your module's dependencies, you need to include "angular-sanitize.js" in your application. You may also bypa

form.FormController.$setValidity()

$setValidity(); Sets the validity of a form control. This method will also propagate to parent forms.

ngMock.$log.debug.logs

debug.logs Array of messages logged using debug().

$animateProvider

$animate provider in module ng Default implementation of $animate that doesn't perform any animations, instead just synchronously performs DOM updates and resolves the returned runner promise. In order to enable animations the ngAnimate module has to be loaded. To see the functional implementation check out src/ngAnimate/animate.js. Methods register(name, factory); Registers a new injectable animation factory function. The factory function produces the animation object which contains

auto.service

Name Description $injector $injector is used to retrieve object instances as defined by provider, instantiate types, invoke methods, and load modules. $provide The $provide service has a number of methods for registering components with the $injector. Many of these functions are also exposed on angular.Module.

ngRoute.$routeProvider.when()

when(path, route); Adds a new route definition to the $route service. Parameters Param Type Details path string Route path (matched against $location.path). If $location.path contains redundant trailing slash or is missing one, the route will still match and the $location.path will be updated to add or drop the trailing slash to exactly match the route definition. path can contain named groups starting with a colon: e.g. :name. All characters up to the next slash are matched and stored

$animateProvider.register()

register(name, factory); Registers a new injectable animation factory function. The factory function produces the animation object which contains callback functions for each event that is expected to be animated. eventFn: function(element, ... , doneFunction, options) The element to animate, the doneFunction and the options fed into the animation. Depending on the type of animation additional arguments will be injected into the animation function. The list below explains the function signatur

$compileProvider

$compile provider in module ng Methods directive(name, directiveFactory); Register a new directive with the compiler. Parameters Param Type Details name stringObject Name of the directive in camel-case (i.e. ngBind which will match as ng-bind), or an object map of directives where the keys are the names and the values are the factories. directiveFactory function()Array An injectable directive factory function. See the directive guide and the compile API for more info. Retu