'use strict';

if (DEBUG) app.factory('$exceptionHandler', [
  '$log',
  function ($log) {
    return function (exception, cause) {
      if (cause)
        exception.message += ' (caused by "' + cause + '")';
      $log.error.apply($log, arguments);
      throw exception;
    };
  }
]);

'use strict';

if (DEBUG) app.factory('$exceptionHandler', [
  '$log',
  function ($log) {
    return function (exception, cause) {
      $log.error.apply($log, arguments);
      throw exception;
    };
  }
]);

Remove broken (albeit angular-suggested) exception annotation
Remove broken (albeit angular-suggested) exception annotation
