Skip to content

Commit

Permalink
fix(params): Fix typed parameters by auto-flushing the param type queue
Browse files Browse the repository at this point in the history
Closes #14
  • Loading branch information
christopherthielen committed Jan 21, 2017
1 parent 34ea6ad commit 6241bca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ export function uiRouterFactory(locationStrategy: LocationStrategy, platformLoca
let ng2InjectorResolvable = Resolvable.fromData(NATIVE_INJECTOR_TOKEN, injector);
registry.root().resolvables.push(ng2InjectorResolvable);

// Auto-flush the parameter type queue
router.urlMatcherFactory.$get();

// ----------------- Initialize router -------------
setTimeout(() => {
Expand Down

0 comments on commit 6241bca

Please sign in to comment.