fix(angular_1_router): Added DI string tokens

Closes #4269

Closes #7031
This commit is contained in:
Brandon Roberts 2015-11-04 05:48:06 -06:00 committed by Brandon
parent e72dc16dbe
commit 3478d5d450
1 changed files with 4 additions and 4 deletions

View File

@ -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]);