How to can I make this code that I have minification friendly?
MyModule.config(['$provide',function($provide) {
$provide.decorator("$exceptionHandler", function($delegate,$injector) {
I can't seem to do this:
$provide.decorator("$exceptionHandler" , "$delegate","$injector", function($delegate,$injector) {
You are missing the [
. The pattern is the same that you successfully applied for config
:
$provide.decorator("$exceptionHandler" , [ "$delegate","$injector",
function($delegate,$injector) {
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With