$sce.trustAsJs()

trustAsJs(value); Shorthand method. $sce.trustAsJs(value) â $sceDelegate.trustAs($sce.JS, value) Parameters Param Type Details value * The value to trustAs. Returns * An object that can be passed to $sce.getTrustedJs(value) to obtain the original value. (privileged directives only accept expressions that are either literal constants or are the return value of $sce.trustAs.)

uppercase

filter in module ng Converts string to uppercase. Usage In HTML Template Binding {{ uppercase_expression | uppercase}} In JavaScript $filter('uppercase')()

ngMessages.ngMessageExp

directive in module ngMessages ngMessageExp is a directive with the purpose to show and hide a particular message. For ngMessageExp to operate, a parent ngMessages directive on a parent DOM element must be situated since it determines which messages are visible based on the state of the provided key/value map that ngMessages listens on. Directive Info This directive creates new scope. This directive executes at priority level 1. Usage <!-- using attribute directives --> <ANY ng

ngAria.provider

Name Description $ariaProvider Used for configuring the ARIA attributes injected and managed by ngAria.

ngMessageFormat.$$messageFormat

service in module ngMessageFormat Angular internal service to recognize MessageFormat extensions in interpolation expressions. For more information, see: https://docs.google.com/a/google.com/document/d/1pbtW2yvtmFBikfRrJd8VAsabiFkKezmYZ_PbgdjQOVU/edit

$sce.getTrustedUrl()

getTrustedUrl(value); Shorthand method. $sce.getTrustedUrl(value) â $sceDelegate.getTrusted($sce.URL, value) Parameters Param Type Details value * The value to pass to $sce.getTrusted. Returns * The return value of $sce.getTrusted($sce.URL, value)

angular.Module.run()

run(initializationFn); Use this method to register work which should be performed when the injector is done loading all modules. Parameters Param Type Details initializationFn Function Execute this function after injector creation. Useful for application initialization.

ngMock.$animate.closeAndFlush()

closeAndFlush(); This method will close all pending animations (both Javascript and CSS) and it will also flush any remaining animation frames and/or callbacks.

ngMock.service

Name Description $exceptionHandler Mock implementation of $exceptionHandler that rethrows or logs errors passed to it. See $exceptionHandlerProvider for configuration information. $log Mock implementation of $log that gathers all logged messages in arrays (one array per logging level). These arrays are exposed as logs property of each of the level-specific log function, e.g. for level error the array is exposed as $log.error.logs. $interval Mock implementation of the $interval service. $a

ngModel.NgModelController.$setDirty()

$setDirty(); Sets the control to its dirty state. This method can be called to remove the ng-pristine class and set the control to its dirty state (ng-dirty class). A model is considered to be dirty when the control has been changed from when first compiled.