title: Angular 1.6.0: "Possibly unhandled rejection" error
body: <p>We have a pattern for resolving promises in our Angular app that has served us well up until Angular 1.6.0:</p>
  
  <pre><code>    resource.get().$promise
          .then(function (response) {
          // do something with the response
          }, function (error) {
              // pass the error the the error service
              return errorService.handleError(error);
          });
  </code></pre>
  
  <p>And here is how we are triggering the error in Karma:</p>
  
  <pre><code>    resourceMock.get = function () {
          var deferred = $q.defer();
          deferred.reject(error);
          return { $promise: deferred.promise };
      };
  </code></pre>
  
  <p>Now, with the update to 1.6.0, Angular is suddenly complaining in our unit tests (in Karma) for rejected promises with a "Possibly unhandled rejection" error. But we are handling the rejection in the second function that calls our error service.</p>
  
  <p>What exactly is Angular looking for here? How does it want us to "handle" the rejection? </p>