angular-loading
angular-loading copied to clipboard
removing the element and appending it back in update function
append is causing issues when the text attribute is made dynamic with angular binding from controller. Multiple elements of dw-loading class gets added to DOM. So removing the element first and then appending it in update function.