$sce.parseAsJs()

parseAsJs(expression); Shorthand method. $sce.parseAsJs(value) â $sce.parseAs($sce.JS, value) Parameters Param Type Details expression string String expression to compile. Returns function(context, locals) a function which represents the compiled expression: context â {object} â an object against which any expressions embedded in the strings are evaluated against (typically a scope object). locals â {object=} â local variables context object, useful for overriding va

$sce.getTrusted()

getTrusted(type, maybeTrusted); Delegates to $sceDelegate.getTrusted. As such, takes the result of a $sce.trustAs() call and returns the originally supplied value if the queried context type is a supertype of the created type. If this condition isn't satisfied, throws an exception. Parameters Param Type Details type string The kind of context in which this value is to be used. maybeTrusted * The result of a prior $sce.trustAs call. Returns * The value the was originally provide

$timeout.cancel()

cancel([promise]); Cancels a task associated with the promise. As a result of this, the promise will be resolved with a rejection. Parameters Param Type Details promise (optional) Promise Promise returned by the $timeout function. Returns boolean Returns true if the task hasn't executed yet and was successfully canceled.

ngModel.NgModelController.$pending

$pending Object An object hash with all pending validator ids as keys.

$http.pendingRequests

pendingRequests Array.<Object> Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes.

ngController

directive in module ng The ngController directive attaches a controller class to the view. This is a key aspect of how angular supports the principles behind the Model-View-Controller design pattern. MVC components in angular: Model â Models are the properties of a scope; scopes are attached to the DOM where scope properties are accessed through bindings. View â The template (HTML with data bindings) that is rendered into the View. Controller â The ngController directive specifies a Contro

ngModel.NgModelController.$asyncValidators

$asyncValidators Object.<string, function> A collection of validations that are expected to perform an asynchronous validation (e.g. a HTTP request). The validation function that is provided is expected to return a promise when it is run during the model validation process. Once the promise is delivered then the validation status will be set to true when fulfilled and false when rejected. When the asynchronous validators are triggered, each of the validators will run in parallel and the

ngMock.angular.mock.inject

function in module ngMock NOTE: This function is also published on window for easy access.NOTE: This function is declared ONLY WHEN running tests with jasmine or mocha The inject function wraps a function into an injectable function. The inject() creates new instance of $injector per test, which is then used for resolving references. Resolving References (Underscore Wrapping) Often, we would like to inject a reference once, in a beforeEach() block and reuse this in multiple it() clauses. T

ngComponentRouter.ngOutlet

directive in module ngComponentRouter The directive that identifies where the Router should render its Components. Directive Info This directive executes at priority level 400 restrict: AE. Usage as attribute: <ANY> ... </ANY>

ngValue

directive in module ng Binds the given expression to the value of <option> or input[radio], so that when the element is selected, the ngModel of that element is set to the bound value. ngValue is useful when dynamically generating lists of radio buttons using ngRepeat, as shown below. Likewise, ngValue can be used to generate <option> elements for the select element. In that case however, only strings are supported for the valueattribute, so the resulting ngModel will always be