The front end uses Angularjs
. There are many operations that need to display Loading animations, including global and specific Loading. For example, after a button is clicked, the icon of the button changes to Loading. For example, when uploading an avatar, deleting Operations, etc.
I want to know the loading of these specific details, how can I extract them? Make it universal and can be coupled with Angular.
Please give me guidance!
File it as a directive