You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I'm using ngBootbox in my application I have one query I want to use $ngBootbox.alert(msg) in angular.config. I'm getting error circular dependancy so could you please help me I have injected $ngBootbox in angular.config. angular.config(function($stateProvider,$logProvider,$provide,$httpProvider) { $provide.decorator("$exceptionHandler",function ($delegate) { return function (exception, cause) { exception.message = "Some error has occured. Please try again, if error persist then please contact help desk: [" + exception.message + "]"; $delegate(exception, cause); $ngBootbox.alert(exception.message); }; }); })
The text was updated successfully, but these errors were encountered:
Hi I'm using ngBootbox in my application I have one query I want to use
$ngBootbox.alert(msg)
in angular.config. I'm getting error circular dependancy so could you please help me I have injected $ngBootbox in angular.config.angular.config(function($stateProvider,$logProvider,$provide,$httpProvider) { $provide.decorator("$exceptionHandler",function ($delegate) { return function (exception, cause) { exception.message = "Some error has occured. Please try again, if error persist then please contact help desk: [" + exception.message + "]"; $delegate(exception, cause); $ngBootbox.alert(exception.message); }; }); })
The text was updated successfully, but these errors were encountered: