-
Notifications
You must be signed in to change notification settings - Fork 90
Description
Hello,
I'm using Patternfly in an application I started to develop, and I noticed that pfVerticalNavigation
uses the location
service to follow the href
attribute of the items.
I had a brief look at pfVerticalNavigation
and it should be quite easy to modify the directive so that an item accepts a uiSref
parameter and, if populated, it makes the directive use the $state
service from angular-ui-router to perform the navigation. Additional tests could verify that $state
is injected properly in the directive (I would not declare a depencency from Patternfly to the ui.router
module since this should be an optional feature) if uiSref
is being used, and that only one between the href
and the uiSref
parameters are populated for a given item.
What do you think? Would you be interested in such contribution?