We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
$uiRouterProvider.router
1 parent 8e91dc9 commit 9d2661cCopy full SHA for 9d2661c
src/ng1/services.ts
@@ -160,7 +160,7 @@ $uiRouter.$inject = ['$locationProvider'];
160
function $uiRouter($locationProvider: ILocationProvider) {
161
162
// Create a new instance of the Router when the $uiRouterProvider is initialized
163
- router = new UIRouter();
+ router = this.router = new UIRouter();
164
router.stateProvider = new StateProvider(router.stateRegistry, router.stateService);
165
166
// Apply ng1 specific StateBuilder code for `views`, `resolve`, and `onExit/Retain/Enter` properties
0 commit comments