RafaelVidaurre/angular-permission

url in browser changes but the state is not changed.

hdi-amiri opened this issue · 5 comments

Hi
I am using ui-router version 1.0.3 and angular-permission version 5.3.2, I have a structure like below:

<a ng-href="{{serviceGroup.href}}">
    <div class="col-sm-5 col-xs-6 main-title special-size">
         {{serviceGroup.name}}
     </div>              
</a>

clicking on each of these service groups cause state transition( some of states have permission in their data). by clicking on the above link, the url is changed but the state transition is not happening, If I refresh the page every thing is fine.
any Idea what am I doing wrong?

@masterspambot thanks for your answer, the problem with using ui-sref is that it can't handle cases like this I guess ui-sref="{{myLink}}"