ngRoute.$route.$routeUpdate

$routeUpdate The reloadOnSearch property has been set to false, and we are reusing the same instance of the Controller. Type: broadcast Target: root scope Parameters Param Type Details angularEvent Object Synthetic event object current Route Current/previous route information.

input[date]

input in module ng Input with date validation and transformation. In browsers that do not yet support the HTML5 date input, a text element will be used. In that case, text must be entered in a valid ISO-8601 date format (yyyy-MM-dd), for example: 2009-01-06. Since many modern browsers do not yet support this input type, it is important to provide cues to users on the expected input format via a placeholder or label. The model must always be a Date object, otherwise Angular will throw an er

input[time]

input in module ng Input with time validation and transformation. In browsers that do not yet support the HTML5 time input, a text element will be used. In that case, the text must be entered in a valid ISO-8601 local time format (HH:mm:ss), for example: 14:57:00. Model must be a Date object. This binding will always output a Date object to the model of January 1, 1970, or local date new Date(1970, 0, 1, HH, mm, ss). The model must always be a Date object, otherwise Angular will throw an e

ngRoute.$route.$routeChangeStart

$routeChangeStart Broadcasted before a route change. At this point the route services starts resolving all of the dependencies needed for the route change to occur. Typically this involves fetching the view template as well as any dependencies defined in resolve route property. Once all of the dependencies are resolved $routeChangeSuccess is fired. The route change (and the $location change that triggered it) can be prevented by calling preventDefault method of the event. See $rootScope.Scope

ngMockE2E.$httpBackend.whenHEAD()

whenHEAD(url, [headers], [keys]); Creates a new backend definition for HEAD requests. For more info see when(). Parameters Param Type Details url stringRegExpfunction(string) HTTP url or function that receives a url and returns true if the url matches the current definition. headers (optional) Objectfunction(Object) HTTP headers. keys (optional) Array Array of keys to assign to regex matches in request url described on $httpBackend mock. Returns requestHandler Returns an

angular.Module.decorator()

decorator(The, This); See $provide.decorator(). Parameters Param Type Details The string name of the service to decorate. This Function function will be invoked when the service needs to be instantiated and should return the decorated service instance.

ngMock.$timeout

service in module ngMock This service is just a simple decorator for $timeout service that adds a "flush" and "verifyNoPendingTasks" methods. Methods flush([delay]); Flushes the queue of pending tasks. Parameters Param Type Details delay (optional) number maximum timeout amount to flush up until verifyNoPendingTasks(); Verifies that there are no pending tasks that need to be flushed.

$rootScope.Scope.$eval()

$eval([expression], [locals]); Executes the expression on the current scope and returns the result. Any exceptions in the expression are propagated (uncaught). This is useful when evaluating Angular expressions. var scope = ng.$rootScope.Scope(); scope.a = 1; scope.b = 2; expect(scope.$eval('a+b')).toEqual(3); expect(scope.$eval(function(scope){ return scope.a + scope.b; })).toEqual(3); Parameters Param Type Details expression (optional) stringfunction() An angular expression to be ex

ngModel.NgModelController.$valid

$valid boolean True if there is no error.

ngComponentRouter

Installation First include angular-componentrouter.js in your HTML: <script src="angular.js"> <script src="angular-componentrouter.js"> You can download this file from the following places: Google CDN e.g. //ajax.googleapis.com/ajax/libs/angularjs/X.Y.Z/angular-componentrouter.js Bower e.g. bower install angular-componentrouter@X.Y.Z code.angularjs.org e.g. "//code.angularjs.org/X.Y.Z/angular-componentrouter.js" where X.Y.Z is the AngularJS version you are running. Then load