title: Promises - catch is not working
body: <p>Why is it that the following code doesn't catch the exception being thrown?</p>
  
  <pre><code>$http.get(null)        // &lt;- this throws a fit
  .catch(function (e) {
    console.log(e);      // &lt;- this is not being triggered
  });
  </code></pre>
  
  <blockquote>
    <p>Error: [$http:badreq] Http request configuration url must be a string or a $sce trusted object.  Received: null
    <a href="https://errors.angularjs.org/1.7.2/$http/badreq?p0=null" rel="nofollow noreferrer">https://errors.angularjs.org/1.7.2/$http/badreq?p0=null</a></p>
  </blockquote>