angular.merge

function in module ng Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects. If you want to preserve original objects, you can do so by passing an empty object as the target: var object = angular.merge({}, object1, object2). Unlike extend(), merge() recursively descends into object properties of source objects, performing a deep copy. Usage angular.merge(dst, src); Arguments Param Type Details d

$controllerProvider.has()

has(name); Parameters Param Type Details name string Controller name to check.

$compileProvider.directive()

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. Returns ng.$compileProvider Self for chaining.

ngBind

directive in module ng The ngBind attribute tells Angular to replace the text content of the specified HTML element with the value of a given expression, and to update the text content when the value of that expression changes. Typically, you don't use ngBind directly, but instead you use the double curly markup like {{ expression }} which is similar but less verbose. It is preferable to use ngBind instead of {{ expression }} if a template is momentarily displayed by the browser in its raw

ngBindTemplate

directive in module ng The ngBindTemplate directive specifies that the element text content should be replaced with the interpolation of the template in the ngBindTemplate attribute. Unlike ngBind, the ngBindTemplate can contain multiple {{ }} expressions. This directive is needed since some HTML elements (such as TITLE and OPTION) cannot contain SPAN elements. Directive Info This directive executes at priority level 0. Usage as attribute: <ANY ng-bind-template="string"> ... <

ngSanitize.linky

filter in module ngSanitize Finds links in text input and turns them into html links. Supports http/https/ftp/mailto and plain email address links. Requires the ngSanitize module to be installed. Usage In HTML Template Binding <span ng-bind-html="linky_expression | linky"></span> In JavaScript $filter('linky')(text, target, attributes) Arguments Param Type Details text string Input text. target string Window (_blank|_self|_parent|_top) or named frame to open links

ngSanitize

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

$cacheFactory.Cache.put()

put(key, value); Inserts a named entry into the Cache object to be retrieved later, and incrementing the size of the cache if the key was not already present in the cache. If behaving like an LRU cache, it will also remove stale entries from the set. It will not insert undefined values into the cache. Parameters Param Type Details key string the key under which the cached data is stored. value * the value to store alongside the key. If it is undefined, the key will not be stored.

ngClass

directive in module ng The ngClass directive allows you to dynamically set CSS classes on an HTML element by databinding an expression that represents all classes to be added. The directive operates in three different ways, depending on which of three types the expression evaluates to: If the expression evaluates to a string, the string should be one or more space-delimited class names. If the expression evaluates to an object, then for each key-value pair of the object with a truthy va

$locationProvider

$location provider in module ng Use the $locationProvider to configure how the application deep linking paths are stored. Methods hashPrefix([prefix]); Parameters Param Type Details prefix (optional) string Prefix for hash part (containing path and search) Returns * current value if used as getter or itself (chaining) if used as setter html5Mode([mode]); Parameters Param Type Details mode (optional) booleanObject If boolean, sets html5Mode.enabled to value. If object,