alexbeletsky / ng-notifications-bar

Angular.js component for stylish and flexible top bar notifications.
http://beletsky.net/ng-notifications-bar
149 stars 52 forks source link

Error: $injector:modulerr Module Error #25

Open antjebara opened 9 years ago

antjebara commented 9 years ago

Hi, I've ben trying to setup the notification var for a couple of hours, i get a :+1: Error: $injector:modulerr Module Error whenever i refresh the page.

imports:

<script src="bower_components/angular-sanitize/angular-sanitize.js"></script>
<script scr="bower_components/ng-notifications-bar/dist/ngNotificationsBar.min.js"></script>

var module = angular.module('app', ['onsen', 'ngResource', 'ngCordova', 'lbServices', 'vxWamp', 'LocalForageModule', 'angucomplete-alt', 'ngSanitize','ngNotificationsBar']);

image

image image

alexbeletsky commented 9 years ago

Your setup and code looks correct to me. To better understand the issue, is that possible you create a project where it's reproducible and place it on github?

Also, is all OK then you remove ngNotificatiosBar, can app be loaded correctly?

On Fri, Mar 27, 2015, 19:04 antoine-ki notifications@github.com wrote:

Hi, I've ben trying to setup the notification var for a couple of hours, i get a [image: :+1:] Error: $injector:modulerr Module Error whenever i refresh the page.

imports:

var module = angular.module('app', ['onsen', 'ngResource', 'ngCordova', 'lbServices', 'vxWamp', 'LocalForageModule', 'angucomplete-alt', 'ngSanitize','ngNotificationsBar']);

[image: image] https://cloud.githubusercontent.com/assets/11091176/6873922/31a63bb6-d4bc-11e4-9874-9fce1487bb34.png

[image: image] https://cloud.githubusercontent.com/assets/11091176/6873946/6100e8b6-d4bc-11e4-95fc-81182fd645bd.png [image: image] https://cloud.githubusercontent.com/assets/11091176/6873957/76b516fa-d4bc-11e4-9a98-17478f8dc896.png

— Reply to this email directly or view it on GitHub https://github.com/alexbeletsky/ng-notifications-bar/issues/25.