Updating title tag using AngularJS and UI-Router

后端 未结 3 757
星月不相逢
星月不相逢 2020-12-14 10:52

I am running into a weird issue while trying to set the title of the page using the name of the current state (via ui-router).

Actually, the issue is not with settin

3条回答
  •  离开以前
    2020-12-14 11:28

    I wrote the angular-ui-router-title plugin for this. You can use it to update the page title to a static or dynamic value based on the current state. It correctly works with browser history, too.

提交回复
热议问题