Closed

Description
Hi,
I have a problem when using UI Router 0.2.11 and Angular 1.3-rc.0. My app is lazy loading modules (and their routes). But new implementation of uiSref
directive provides custom e.preventDefault()
, which is called by Angular's htmlAnchorDirective
and cancels state transition - so it does not trigger $stateNotFound
where I loaded new module.
The problem is that link pointing to a state that has not been resolved yet has no href
attribute.
https://github.com/angular/angular.js/blob/2e641ac49f121a6e2cc70bd3879930b44a8a7710/src/ng/directive/a.js#L35
I believe this commit changed this behavior:
2e6d916
Is it a bug or should i use another approach?
Thanks
Metadata
Metadata
Assignees
Labels
No labels