angularjs嵌套布局实现方法: 有一个叫做 angular-ui-router 的第三方插件,它可以替代angular-router,可以实现这个功能。 状态可以相互嵌套。有三个嵌套的方法: 使用“点标记法”,例如:.state('contacts.list', {}) 使用parent属性