aboutsummaryrefslogtreecommitdiffstats
path: root/src/AngularPublic.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/AngularPublic.js')
-rw-r--r--src/AngularPublic.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AngularPublic.js b/src/AngularPublic.js
index 5bc59653..d0a0e045 100644
--- a/src/AngularPublic.js
+++ b/src/AngularPublic.js
@@ -55,12 +55,12 @@ function publishExternalAPI(angular){
try {
angularModule('ngLocale');
} catch (e) {
- angularModule('ngLocale', []).service('$locale', $LocaleProvider);
+ angularModule('ngLocale', []).provider('$locale', $LocaleProvider);
}
angularModule('ng', ['ngLocale'], ['$provide',
function ngModule($provide) {
- $provide.service('$compile', $CompileProvider).
+ $provide.provider('$compile', $CompileProvider).
directive({
a: htmlAnchorDirective,
input: inputDirective,
@@ -105,7 +105,7 @@ function publishExternalAPI(angular){
}).
directive(ngAttributeAliasDirectives).
directive(ngEventDirectives);
- $provide.service({
+ $provide.provider({
$anchorScroll: $AnchorScrollProvider,
$browser: $BrowserProvider,
$cacheFactory: $CacheFactoryProvider,