如何同时加载多块 SPA 页面(ng-view 或 ui-view)

How to load multi block of SPA page simultaneously (ng-view or ui-view)

任何人都可以建议如何处理下面列出的情况.. 我想通过 block\section 加载页面 block\section。 spa页面有四个sections\block,需要单独加载。将完成多个 ajax 请求,这将 return 返回 json 结果,然后将呈现块。

我相信 UI Router(ui-view) vs ng-view 可以用来处理嵌套视图。但是如何同时处理页面的多个部分(视图)的加载

当使用 UI-Router, it's a third party router for angular that replaces the default on. Try going over their documents and user-guide, this section 描述与您的用例相似的用例时,您可以使用多个视图