$httpParamSerializerJQLike

service in module ng Alternative $http params serializer that follows jQuery's param() method logic. The serializer will also sort the params alphabetically. To use it for serializing $http request parameters, set it as the paramSerializer property: $http({ url: myUrl, method: 'GET', params: myParams, paramSerializer: '$httpParamSerializerJQLike' }); It is also possible to set it as the default paramSerializer in the $httpProvider. Additionally, you can inject the serializer and u

angular.fromJson

function in module ng Deserializes a JSON string. Usage angular.fromJson(json); Arguments Param Type Details json string JSON string to deserialize. Returns ObjectArraystringnumber Deserialized JSON string.

angular.isArray

function in module ng Determines if a reference is an Array. Usage angular.isArray(value); Arguments Param Type Details value * Reference to check. Returns boolean True if value is an Array.

angular.toJson

function in module ng Serializes input into a JSON-formatted string. Properties with leading $$ characters will be stripped since angular uses this notation internally. Usage angular.toJson(obj, pretty); Arguments Param Type Details obj ObjectArrayDatestringnumber Input to be serialized into JSON. pretty (optional) booleannumber If set to true, the JSON output will contain newlines and whitespace. If set to an integer, the JSON output will contain that many spaces per indentat

$sce.trustAs()

trustAs(type, value); Delegates to $sceDelegate.trustAs. As such, returns an object that is trusted by angular for use in specified strict contextual escaping contexts (such as ng-bind-html, ng-include, any src attribute interpolation, any dom event binding attribute interpolation such as for onclick, etc.) that uses the provided value. See * $sce for enabling strict contextual escaping. Parameters Param Type Details type string The kind of context in which this value is safe for use. e.

ngComponentRouter.directive

Name Description ngOutlet The directive that identifies where the Router should render its Components.

$templateRequestProvider

$templateRequest provider in module ng Used to configure the options passed to the $http service when making a template request. For example, it can be used for specifying the "Accept" header that is sent to the server, when requesting a template. Methods httpOptions([value]); The options to be passed to the $http service when making the request. You can use this to override options such as the "Accept" header for template requests. The $templateRequest will set the cache and the tra

$location.$locationChangeStart

$locationChangeStart Broadcasted before a URL will change. This change can be prevented by calling preventDefault method of the event. See $rootScope.Scope for more details about event object. Upon successful change $locationChangeSuccess is fired. The newState and oldState parameters may be defined only in HTML5 mode and when the browser supports the HTML5 History API. Type: broadcast Target: root scope Parameters Param Type Details angularEvent Object Synthetic event object. newU

ngMock.function

Name Description angular.mock.dump NOTE: this is not an injectable instance, just a globally available function. angular.mock.module NOTE: This function is also published on window for easy access.NOTE: This function is declared ONLY WHEN running tests with jasmine or mocha angular.mock.module.sharedInjector NOTE: This function is declared ONLY WHEN running tests with jasmine or mocha angular.mock.inject NOTE: This function is also published on window for easy access.NOTE: This function

$location.replace()

replace(); If called, all changes to $location during the current $digest will replace the current history record, instead of adding a new one.