angular-css icon indicating copy to clipboard operation
angular-css copied to clipboard

$css.preload: calling the callback when it fails.

Open iangregsondev opened this issue 9 years ago • 0 comments

Hi,

Just a suggestion but the $css.preload only calls the callback when there is no error.

Probably be better to either call the callback passing in an error object when a failure happens or changing is to a promise so we can chain "then" and "catch"

iangregsondev avatar Jul 26 '16 09:07 iangregsondev