Issue
I have an abstract route that looks like this: #/app/lists/:label
.
Which is great when User creates a "label" of 'Breakfasts'
.
However, when the label
value is '#All'
, then $stateParams.label === ""
.
Question
How can I get Angular/-ui-router to acknowledge the octothorpe (hash sign) in the literal URL of #/app/lists/#All
? ($stateParams.label
)
Allowing the User to add an octothorpe, such as #All
or #Public
, is a necessary convention I'd like to keep for the user. What can I do to get this "label" when this character is present?