angular-css
angular-css copied to clipboard
$css.preload: calling the callback when it fails.
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"