fix(angular_1_router): Added DI string tokens
Closes #4269 Closes #7031
This commit is contained in:
parent
e72dc16dbe
commit
3478d5d450
|
@ -287,13 +287,13 @@ function dashCase(str: string): string {
|
||||||
* A module for adding new a routing system Angular 1.
|
* A module for adding new a routing system Angular 1.
|
||||||
*/
|
*/
|
||||||
angular.module('ngComponentRouter', [])
|
angular.module('ngComponentRouter', [])
|
||||||
.directive('ngOutlet', ngOutletDirective)
|
.directive('ngOutlet', ['$animate', '$q', '$router', ngOutletDirective])
|
||||||
.directive('ngOutlet', ngOutletFillContentDirective)
|
.directive('ngOutlet', ['$compile', ngOutletFillContentDirective])
|
||||||
.directive('ngLink', ngLinkDirective);
|
.directive('ngLink', ['$router', '$parse', ngLinkDirective]);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A module for inspecting controller constructors
|
* A module for inspecting controller constructors
|
||||||
*/
|
*/
|
||||||
angular.module('ng')
|
angular.module('ng')
|
||||||
.provider('$$directiveIntrospector', DirectiveIntrospectorProvider)
|
.provider('$$directiveIntrospector', DirectiveIntrospectorProvider)
|
||||||
.config(compilerProviderDecorator);
|
.config(['$compileProvider', '$$directiveIntrospectorProvider', compilerProviderDecorator]);
|
||||||
|
|
Loading…
Reference in New Issue