title: Angular - Circular dependency found when using ngNotificationsBar
body: <p>I try to use <a href="https://github.com/alexbeletsky/ng-notifications-bar" rel="nofollow">ng-notifications-bar</a> module, I have code like this:</p>
  
  <pre><code>angular.module('app', [
      uiRouter,
      Common.name,
      Components.name,
      angularMaterial,
      'ngTable',
      'gridster',
      'ngNotificationsBar'
    ])
    .factory('$exceptionHandler', ['notifications', function(notifications) {
      return function(exception, cause) {
        notifications.showError({message: exception});
      };
    }]);
  </code></pre>
  
  <p>but got error:</p>
  
  <blockquote>
    <p>[$injector:cdep] Circular dependency found: $rootScope &lt;- notifications &lt;- $exceptionHandler &lt;- $rootScope &lt;- $timeout &lt;- $$rAF &lt;- $mdGesture</p>
  </blockquote>
  
  <p>I've tried to modify the library to use <code>$injector</code> to get $timeout and $rootScope but that didn't help also tried to use <code>$injector</code> to get <code>notifications</code> in <code>$exceptionHandler</code> factory but got the same error.</p>