title: How to get all details of exception including errorMsg, url & lineNumber using $exceptionHandler?
body: <p>I want to setup JS exception logging module in my angularJS application and for this I am using <strong>$exceptionHandler</strong>.
  <br/><br/>
  I am using following code to log app errors : </p>
  
  <pre><code>app.config(function($provide) {
      $provide.decorator("$exceptionHandler", function($delegate) {
          return function(exception, cause) {
              $delegate(exception, cause);
              // alert(exception.message);
              console.log(JSON.stringify(exception.message += ' (caused by "' + cause + '")'));
          };
      });
  });
  </code></pre>
  
  <p>But here,I am getting only message but I want all details related to exception like errorMsg, url, line number etc.
  <br/><br/>
  How to get all this details using above code?</p>