7
角度ui-router
で分かっているように、html
を親のhtml
にするにはui-view
を使用します。ionjのui-viewとion-nav-viewの違い
<!-- index.html -->
<body>
<div ui-view="filters"></div>
<div ui-view="tabledata"></div>
<div ui-view="graph"></div>
</body>
js
ファイル:thisによると
$stateProvider
.state('report', {
views: {
'filters': { ... templates and/or controllers ... },
'tabledata': {},
'graph': {},
}
})
またIonic
枠組みの中で、私たちはこれを使用することができます:
<ion-nav-view name="filters"></ion-nav-view>
diferenceは何?