同じアプリケーション内に 2 つの異なる ng-app を持ち、両方のモジュール間のルーティングに $router を使用できますか?私が理解しているように、同じアプリ内で 2 つの ng-view を使用することはできません
高レベルの概念:
Index.html を読み込む {
<ng-view>: Load Login.html Here.
On Successfull Login, Load Home.html here
{
<ng-view>: Load HomePartials.html & other partials
on redirect go back to ng-view of index.html where Login.html would be loaded
</ng-view>
}
</ng-view>
}
これについてあなたの考えを共有してください。前もって感謝します!!