Providers Flashcards

1
Q

$anchorScrollProvider

A

Use $anchorScrollProvider to disable automatic scrolling whenever $location.hash() changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

$animateProvider

A

Default implementation of $animate that doesn’t perform any animations, instead just synchronously performs DOM updates and calls done() callbacks.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

$controllerProvider

A

The $controller service is used by Angular to create new controllers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

$filterProvider

A

Filters are just functions which transform input to an output. However filters need to be Dependency Injected. To achieve this a filter definition consists of a factory function which is annotated with dependencies and is responsible for creating a filter function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

$httpProvider

A

Use $httpProvider to change the default behavior of the $http service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

$interpolateProvider

A

Used for configuring the interpolation markup. Defaults to {{ and }}.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

$locationProvider

A

Use the $locationProvider to configure how the application deep linking paths are stored.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

$logProvider

A

Use the $logProvider to configure how the application logs messages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

$parseProvider

A

$parseProvider can be used for configuring the default behavior of the $parse service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

$rootScopeProvider

A

Provider for the $rootScope service.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

$sceDelegateProvider

A

The $sceDelegateProvider provider allows developers to configure the $sceDelegate service. This allows one to get/set the whitelists and blacklists used to ensure that the URLs used for sourcing Angular templates are safe. Refer $sceDelegateProvider.resourceUrlWhitelist and $sceDelegateProvider.resourceUrlBlacklist

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

$sceProvider

A

The $sceProvider provider allows developers to configure the $sce service.
enable/disable Strict Contextual Escaping (SCE) in a moduleoverride the default implementation with a custom delegate

How well did you know this?
1
Not at all
2
3
4
5
Perfectly