统一的载页面可以用factory('RequestInjector',[fucntion]);来实现。
哪么当应用在不同的地方需要加载不同的等待画页,angularjs里有没有特殊的方法
黄舟2017-05-15 17:08:50
You can write a command and place it on the public parent top-level page, such as index
For example:
<loading request-type="someType"></loading>
Then you can use this command to generate corresponding loading templates when receiving different types to create a global loading screen.