angular.Module.name

name Name of the module.

angular.isDate

function in module ng Determines if a value is a date. Usage angular.isDate(value); Arguments Param Type Details value * Reference to check. Returns boolean True if value is a Date.

ngKeydown

directive in module ng Specify custom behavior on keydown event. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-keydown="expression"> ... </ANY> Arguments Param Type Details ngKeydown expression Expression to evaluate upon keydown. (Event object is available as $event and can be interrogated for keyCode, altKey, etc.)

ngSanitize.provider

Name Description $sanitizeProvider Creates and configures $sanitize instance.

ngMock.$log.log.logs

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

ngComponentRouter.type

Name Description Router A Router is responsible for mapping URLs to components. ChildRouter This type extends the Router. RootRouter This type extends the Router. ComponentInstruction A ComponentInstruction represents the route state for a single component. An Instruction is composed of a tree of these ComponentInstructions. RouteDefinition Each item in a the RouteConfig for a Routing Component is an instance of this type. It can have the following properties: RouteParams A map of pa

ngMock.$interval.flush()

flush([millis]); Runs interval tasks scheduled to be run in the next millis milliseconds. Parameters Param Type Details millis (optional) number maximum timeout amount to flush up until. Returns number The amount of time moved forward.

ngRoute.$route.$routeChangeError

$routeChangeError Broadcasted if any of the resolve promises are rejected. Type: broadcast Target: root scope Parameters Param Type Details angularEvent Object Synthetic event object current Route Current route information. previous Route Previous route information. rejection Route Rejection of the promise. Usually the error of the failed promise.

$location.path()

path([path]); This method is getter / setter. Return path of current url when called without any parameter. Change path when called with parameter and return $location. Note: Path should always begin with forward slash (/), this method will add the forward slash if it is missing. // given url http://example.com/#/some/path?foo=bar&baz=xoxo var path = $location.path(); // => "/some/path" Parameters Param Type Details path (optional) stringnumber New path Returns string path

ngReadonly

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