title: Uncaught ReferenceError: module is not defined
body: <p>As the name implies. I am experiencing an issue using the reserved keyword "Module" on bower launch. It seems to relate specifically to the code below. I cannot seem to find the exact location, as it starts at "fetch-bower.js:1". Can anyone please help me to understand how to work around this problem?</p>
  
  <pre><code>(function () {
      'use strict';
  
  angular.module('BlurAdmin.theme.components')
  .directive("digitalClock", function ($timeout, dateFilter) {
          return {
              restrict: 'E',
              link: function (scope, iElement) {
                  (function updateClock() {
                      iElement.text(dateFilter(new Date(), 'H:mm:ss'));
                      $timeout(updateClock, 1000);
                  })();
              }
          };
      });
  });
  </code></pre>
  
  <p>//HTML</p>
  
  <pre><code>&lt;div class="page-top clearfix" scroll-position="scrolled" max-height="50" ng-class="{'scrolled': scrolled}"&gt;
    &lt;div class="row col-xs-12"&gt;
      &lt;div class=""&gt;&lt;/div&gt;
      &lt;div class="aguState col-xs-3 setText"&gt;Agu State: &lt;/div&gt;
      &lt;div class="aguMode col-xs-3 setText"&gt;Agu Mode: &lt;/div&gt;
      &lt;div class="lastUpdate col-xs-3 setText"&gt;Last Update: &lt;/div&gt;
      &lt;digital-clock&gt;&lt;/digital-clock&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>//Directive.js</p>
  
  <pre><code>(function () {
    'use strict';
  
    angular.module('BlurAdmin.theme.components')
        .directive('pageTop', pageTop);
  
    /** @ngInject */
    function pageTop() {
      return {
        restrict: 'E',
        templateUrl: 'app/theme/components/pageTop/pageTop.html'
      };
    }
  
  })();
  </code></pre>
  
  <p>full error</p>
  
  <pre><code>fetch-bower.js:1 Uncaught ReferenceError: module is not defined
      at fetch-bower.js:1
  (anonymous) @ fetch-bower.js:1
  </code></pre>