How to set active class on ng-click?

前端 未结 5 683
轮回少年
轮回少年 2020-12-23 17:42

I have this:

5条回答
  •  既然无缘
    2020-12-23 18:25

    If you are using [ui-router] you not need to write anything just you have add this ui-sref-active="active-menu" property in your tag which you want to active after click/navigate.

提交回复
热议问题