X Tutup
Skip to content

Commit 3478d5d

Browse files
fix(angular_1_router): Added DI string tokens
Closes #4269 Closes #7031
1 parent e72dc16 commit 3478d5d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/angular1_router/src/ng_outlet.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,13 +287,13 @@ function dashCase(str: string): string {
287287
* A module for adding new a routing system Angular 1.
288288
*/
289289
angular.module('ngComponentRouter', [])
290-
.directive('ngOutlet', ngOutletDirective)
291-
.directive('ngOutlet', ngOutletFillContentDirective)
292-
.directive('ngLink', ngLinkDirective);
290+
.directive('ngOutlet', ['$animate', '$q', '$router', ngOutletDirective])
291+
.directive('ngOutlet', ['$compile', ngOutletFillContentDirective])
292+
.directive('ngLink', ['$router', '$parse', ngLinkDirective]);
293293

294294
/*
295295
* A module for inspecting controller constructors
296296
*/
297297
angular.module('ng')
298298
.provider('$$directiveIntrospector', DirectiveIntrospectorProvider)
299-
.config(compilerProviderDecorator);
299+
.config(['$compileProvider', '$$directiveIntrospectorProvider', compilerProviderDecorator]);

0 commit comments

Comments
 (0)
X Tutup