Please ask: When angular.js loads different content, use different loading waiting pages.
天蓬老师2017-05-15 17:06:50
0
1
549
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
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.