create a single html view for multiple partial views in angularjs

后端 未结 3 1406
自闭症患者
自闭症患者 2020-12-01 01:59

I wish to create a single html file with multiple tags. These should act as separate individual views that are usually kept in partials folder. And then i wish to specify

3条回答
  •  孤街浪徒
    2020-12-01 02:41

    I Had the same problem, now there is a solution for it using: UI-Router

    The advantage of using this and not the ngRoute is that you can have multiple views in the same page using "ui-view" naming convention.

提交回复
热议问题