Angularjs Possibly unhandled rejection ok



This article will explain you how to resolve Angularjs Possibly unhandled rejection ok

This error is mainly related to angularjs version 1.5 or 1.6

You can resolve this problem by adding below code in config section

app.config(['$qProvider', function ($qProvider) 
{
  $qProvider.errorOnUnhandledRejections(false); 
}]);

(OR)

angular
.module('app')
.config(['$qProvider', function ($qProvider) 
{
   $qProvider.errorOnUnhandledRejections(false); 
}]);

For more information about  $qProvider click on

https://docs.angularjs.org/api/ng/provider/$qProvider

Labels: Possibly unhandled rejection ok, angularjs, how to solve Possibly unhandled rejection ok in angular js



Subscribe

Receive Quality Tutorials Straight in your Inbox by submitting your Email below:

Delivered by FeedBurner

Protected by Copyscape Duplicate Content Checker