angular-ui / ui-router

The de-facto solution to flexible routing with nested views in AngularJS
http://ui-router.github.io/
MIT License
13.54k stars 3k forks source link

Fix ngStrictDi support #3479

Closed abyx closed 7 years ago

abyx commented 7 years ago

In some scenarios, the $injector would be asked to annotate without providing it with the current strictDi value, making resolvables not complain about missing annotations.

This was previously addressed in this PR: https://github.com/angular-ui/ui-router/pull/2602

Yet, it is not working, as can be seen in this plunker, that contains a resolvable without annotations and yet no error is thrown: http://plnkr.co/edit/dd6ptmrUtzPnKLmAJkCY?p=preview

christopherthielen commented 7 years ago

Thanks a lot!