的meanjs核心模块提供了一个默认的索引页主状态:覆盖meanjs路线,而不会覆盖meanjs代码
// Home state routing
$stateProvider
.state('home', {
url: '/',
templateUrl: 'modules/core/client/views/home.client.view.html'
})
我已经加入我自己的模块mymod
到meanjs应用。我想用我自己的部分modules/mymod/client/views/browse.client.view.html
。
如何在不修改core.client.route.js
文件的情况下执行此操作?我总是避免修改从框架和相信中获得的代码。推荐的方法是什么?