Skip to content

Dynamic view names broken 0.2.11 #1324

@georeith

Description

@georeith

Dynamic view names are broken in 0.2.11, they work on the first loaded view but not on transitions. This means ng-repeat is no longer usable alongside ui-view.

The issue I believe is due to it now retrieving the name from getUiViewName() instead of data('$uiViewName).

See: e13988b#diff-6cb730f69dba1573a17c5532e05120eeL206

Examples

Working example in 0.2.10: http://plnkr.co/edit/HIt4QCUe1KCCO5kTEHYA?p=preview
Broken example in 0.2.11: http://plnkr.co/edit/uPPAUFIZfSQbKrrFsTmI?p=preview

Note

Logging out the name in 0.2.10 contains the evaluated expression.
Logging out the name in 0.2.11 contains the non-evaluated expression for anything but the first compilation.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions