$sceDelegateProvider.resourceUrlBlacklist()

resourceUrlBlacklist([blacklist]); Sets/Gets the blacklist of trusted resource URLs. Parameters Param Type Details blacklist (optional) Array When provided, replaces the resourceUrlBlacklist with the value provided. This must be an array or null. A snapshot of this array is used so further changes to the array are ignored. Follow this link for a description of the items allowed in this array. The typical usage for the blacklist is to block open redirects served by your domain as these

angular.isNumber

function in module ng Determines if a reference is a Number. This includes the "special" numbers NaN, +Infinity and -Infinity. If you wish to exclude these then you can use the native `isFinite' method. Usage angular.isNumber(value); Arguments Param Type Details value * Reference to check. Returns boolean True if value is a Number.

$rootScope.Scope.$id

$id Unique scope ID (monotonically increasing) useful for debugging.

Guide: Bootstrap

This page explains the Angular initialization process and how you can manually initialize Angular if necessary. Angular Tag This example shows the recommended path for integrating Angular with what we call automatic initialization. <!doctype html> <html xmlns:ng="http://angularjs.org" ng-app> <body> ... <script src="angular.js"></script> </body> </html> Place the script tag at the bottom of the page. Placing script tags at the end of the p

Guide: Conceptual Overview

This section briefly touches on all of the important parts of AngularJS using a simple example. For a more in-depth explanation, see the tutorial. Concept Description Template HTML with additional markup Directives extend HTML with custom attributes and elements Model the data shown to the user in the view and with which the user interacts Scope context where the model is stored so that controllers, directives and expressions can access it Expressions access variables and functions from the sco

auto.$injector.annotate()

annotate(fn, [strictDi]); Returns an array of service names which the function is requesting for injection. This API is used by the injector to determine which services need to be injected into the function when the function is invoked. There are three ways in which the function can be annotated with the needed dependencies. Argument names The simplest form is to extract the dependencies from the arguments of the function. This is done by converting the function into a string using toString()

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

ng

ng (core module) The ng module is loaded by default when an AngularJS application is started. The module itself contains the essential components for an AngularJS application to function. The table below lists a high level breakdown of each of the services/factories, filters, directives and testing components available within this core module. Module Components Function Name Description angular.forEach Invokes the iterator function once for each item in obj collection, which can be either an

$controllerProvider.register()

register(name, constructor); Parameters Param Type Details name stringObject Controller name, or an object map of controllers where the keys are the names and the values are the constructors. constructor function()Array Controller constructor fn (optionally decorated with DI annotations in the array notation).