Unified loading page can be achieved using factory('RequestInjector',[fucntion]);.
When the application needs to load different waiting pictures in different places, is there any special method in 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.