Preserve state with Angular UI-Router

后端 未结 3 1473
我寻月下人不归
我寻月下人不归 2021-01-31 10:29

I have an app with a ng-view that sends emails to contact selected from a contact list. When the users select \"Recipient\" it shows another view/page where he can search, filte

3条回答
  •  太阳男子
    2021-01-31 11:15

    I have found Angular-Multi-View to be a godsend for this scenario. It lets you preserve state in one view while other views are handling the route. It also lets multiple views handle the same route.

    You can do this with UI-Router but you'll need to nest the views which IMHO can get ugly.

提交回复
热议问题