christopherthielen / ui-router-extras

THIS PROJECT IS NO LONGER MAINTAINED -- Extras for UI-Router for AngularJS. Sticky States (a.k.a. parallel states), Deep State Redirect (for tab-like navigation), Future States (async state definition)

Home Page:http://christopherthielen.github.io/ui-router-extras/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: in ui-sref It is possible to do $stickyState.reset()

nahuelramos opened this issue · comments

Hi i have a menu with different sticky states, I need that when click run $stickyState.reset().
github

<a ui-sref="home" ng-click="reset('home')">Home</a>

Then implement reset in a controller.

You could also write a custom directive which does the same thing when clicked.