Angular Image Spinner
Using spin.js showing the spinner while image is preloading on the background.
Also it's possible to pass spin.js settings using image-spinner-settings
attribute for img
element.
Note: The directive will not be applied if you missed one of the parameters width
, height
.
Installation
bower install angular-image-spinner --save
Then, add imageSpinner
module to your app:
angular