angularUtils
angularUtils copied to clipboard
Breadcrumbs does not support variables with ui-router v1.0.0-rc.1
Hello
Assuming I have this,
data : { breadcrumbsLabel : ' User {{ user.name }} name' }
Breadcrumbs will render "User name", missing actual user.name variable value. Something is changed in ui-router and soon this directive will stop work when they release. I tracked down that is currentState.locals is undefined.
This is super old but incase someone comes across this issue, I had to make a few changes to the directive to get it to work with ui-router#1.x.x: https://github.com/jrandeniya/ui-breadcrumbs