Closed
Description
This is a:
- Bug Report
- Feature Request
- General Query
My version of UI-Router is: 1.0.20
Bug Report
Current Behavior:
$onInit
is called twice when componentProvider
is used.
Expected Behavior:
$onInit
should be called once.
Link to Plunker or stackblitz that reproduces the issue:
Navigating to about fires $onInit
twice (componentProvider
). Home only once (component
).
https://stackblitz.com/edit/ui-router-angularjs-g5wlce?file=app.js
This issue have been introduced recently, I think it worked in 1.0.17.