AngularJS: Multiple views with routing without losing scope

前端 未结 4 944
陌清茗
陌清茗 2021-02-04 11:07

I\'m trying to implement a classic list/details UI. When clicking an item in the list, I want to display an edit form for that item while still displaying the list. I\'

4条回答
  •  死守一世寂寞
    2021-02-04 11:29

    Try using ui-router: http://github.com/angular-ui/ui-router.

    They have nested views and easier state management than angular default routing :-)

提交回复
热议问题