title: ng-infinite-scroll.js:42 Uncaught ReferenceError: app is not defined
body: <p>I am using <a href="http://akveo.com/blur-admin-mint/#/dashboard" rel="nofollow noreferrer">blur-admin</a> theme and trying to add <a href="https://github.com/sroze/ngInfiniteScroll" rel="nofollow noreferrer">ngInfiniteScroll</a> to it. By doing</p>
  <pre><code> bower install ng-infinite-scroll --save --force
  </code></pre>
  <p>I use <code>--force</code> because without it I was getting.</p>
  <pre><code>ECONFLICT Unable to find suitable version for angular
  </code></pre>
  <p>with <code>--force</code> the dependency is installed but on theme load its giving error.</p>
  <pre><code>ng-infinite-scroll.js:42 Uncaught ReferenceError: app is not defined
  </code></pre>
  <p>my <strong>bower.json</strong></p>
  <pre><code>{
    &quot;name&quot;: &quot;blur-admin&quot;,
    &quot;version&quot;: &quot;1.2.0&quot;,
    &quot;homepage&quot;: &quot;https://github.com/1itvinka/blur-admin&quot;,
    &quot;authors&quot;: [
      &quot;akveo&quot;
    ],
    &quot;description&quot;: &quot;Blur Admin HTML template&quot;,
    &quot;license&quot;: &quot;MIT&quot;,
    &quot;ignore&quot;: [
      &quot;**/.*&quot;,
      &quot;node_modules&quot;,
      &quot;bower_components&quot;,
      &quot;test&quot;,
      &quot;tests&quot;
    ],
    &quot;dependencies&quot;: {
      &quot;Chart.js&quot;: &quot;~1.0.2&quot;,
      &quot;Ionicons&quot;: &quot;ionicons#~2.0.1&quot;,
      &quot;amcharts&quot;: &quot;~3.15.2&quot;,
      &quot;amcharts-stock&quot;: &quot;*&quot;,
      &quot;ammap&quot;: &quot;~3.14.5&quot;,
      &quot;angular&quot;: &quot;~1.4.8&quot;,
      &quot;angular-route&quot;: &quot;~1.4.6&quot;,
      &quot;angular-slimscroll&quot;: &quot;~1.1.5&quot;,
      &quot;angular-smart-table&quot;: &quot;~2.1.3&quot;,
      &quot;angular-toastr&quot;: &quot;~1.7.0&quot;,
      &quot;angular-touch&quot;: &quot;~1.4.6&quot;,
      &quot;angular-ui-sortable&quot;: &quot;~0.13.4&quot;,
      &quot;animate.css&quot;: &quot;~3.4.0&quot;,
      &quot;bootstrap&quot;: &quot;~3.3.5&quot;,
      &quot;bootstrap-select&quot;: &quot;~1.9.3&quot;,
      &quot;bootstrap-switch&quot;: &quot;~3.3.2&quot;,
      &quot;bootstrap-tagsinput&quot;: &quot;~0.5.0&quot;,
      &quot;font-awesome&quot;: &quot;fontawesome#~4.4.0&quot;,
      &quot;fullcalendar&quot;: &quot;~2.4.0&quot;,
      &quot;highlight&quot;: &quot;~8.8.0&quot;,
      &quot;jquery&quot;: &quot;~2.1.4&quot;,
      &quot;jquery-ui&quot;: &quot;~1.11.4&quot;,
      &quot;jquery.easing&quot;: &quot;~1.3.1&quot;,
      &quot;jquery.easy-pie-chart&quot;: &quot;~2.1.6&quot;,
      &quot;leaflet&quot;: &quot;~0.7.5&quot;,
      &quot;moment&quot;: &quot;~2.10.6&quot;,
      &quot;slimScroll&quot;: &quot;jquery-slimscroll#~1.3.6&quot;,
      &quot;angular-progress-button-styles&quot;: &quot;~0.1.0&quot;,
      &quot;angular-ui-router&quot;: &quot;~0.2.16&quot;,
      &quot;angular-chart.js&quot;: &quot;~0.8.8&quot;,
      &quot;angular-chartist.js&quot;: &quot;~3.3.12&quot;,
      &quot;chartist&quot;: &quot;0.9.5&quot;,
      &quot;angular-morris-chart&quot;: &quot;~1.1.0&quot;,
      &quot;ionrangeslider&quot;: &quot;~2.1.2&quot;,
      &quot;angular-bootstrap&quot;: &quot;~1.3.3&quot;,
      &quot;angular-animate&quot;: &quot;~1.4.8&quot;,
      &quot;textAngular&quot;: &quot;~1.4.6&quot;,
      &quot;angular-xeditable&quot;: &quot;~0.1.9&quot;,
      &quot;ng-js-tree&quot;: &quot;~0.0.7&quot;,
      &quot;ngstorage&quot;: &quot;^0.3.10&quot;,
      &quot;restangular&quot;: &quot;^1.5.2&quot;,
      &quot;ng-file-upload&quot;: &quot;^12.0.4&quot;,
      &quot;ng-infinite-scroll&quot;: &quot;^0.0.1&quot;
    },
    &quot;overrides&quot;: {
      &quot;amcharts&quot;: {
        &quot;main&quot;: [
          &quot;./dist/amcharts/amcharts.js&quot;,
          &quot;./dist/amcharts/plugins/responsive/responsive.min.js&quot;,
          &quot;./dist/amcharts/serial.js&quot;,
          &quot;./dist/amcharts/funnel.js&quot;,
          &quot;./dist/amcharts/pie.js&quot;,
          &quot;./dist/amcharts/gantt.js&quot;
        ]
      },
      &quot;amcharts-stock&quot;: {
        &quot;main&quot;: &quot;./dist/amcharts/amstock.js&quot;
      },
      &quot;ammap&quot;: {
        &quot;main&quot;: [
          &quot;./dist/ammap/ammap.js&quot;,
          &quot;./dist/ammap/maps/js/worldLow.js&quot;
        ]
      },
      &quot;bootstrap&quot;: {
        &quot;main&quot;: [
          &quot;dist/css/bootstrap.css&quot;,
          &quot;js/dropdown.js&quot;
        ]
      },
      &quot;slimScroll&quot;: {
        &quot;main&quot;: &quot;./jquery.slimscroll.js&quot;
      },
      &quot;font-awesome&quot;: {
        &quot;main&quot;: [
          &quot;css/font-awesome.css&quot;,
          &quot;fonts/FontAwesome.otf&quot;,
          &quot;fonts/fontawesome-webfont.eot&quot;,
          &quot;fonts/fontawesome-webfont.svg&quot;,
          &quot;fonts/fontawesome-webfont.ttf&quot;,
          &quot;fonts/fontawesome-webfont.woff&quot;,
          &quot;fonts/fontawesome-webfont.woff2&quot;
        ]
      }
    },
    &quot;resolutions&quot;: {
      &quot;angular&quot;: &quot;~1.x&quot;
    }
  }
  </code></pre>
  <p>Can anybody help me?<br />
  Thanks</p>