I was making a small web page with Angular to show off some javascript 
demos and I was using Chrome to debug it. Everything worked fine. But when 
I tried opening it in Firefox and I got two errors: 

TypeError: app.controller is not a function

Error: [$injector:modulerr] Failed to instantiate module watch due to: 
queue is undefined 
runInvokeQueue@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:4425:21
 
loadModules/<@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:4437:11
 
forEach@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:340:11 
loadModules@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:4419:5
 
createInjector@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:4344:11
 
bootstrap/doBootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:1676:20
 
bootstrap@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:1697:1
 
angularInit@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:1591:5
 
@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:29013:5 
trigger@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:3057:7 
defaultHandlerWrapper@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:3346:3
 
createEventHandler/eventHandler@https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.js:3334:9
 
http://errors.angularjs.org/1.4.8/$injector/modulerr?p0=watch&p1=queue%20is%20undefined%0ArunInvokeQueue%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A4425%3A21%0AloadModules%2F%3C%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A4437%3A11%0AforEach%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A340%3A11%0AloadModules%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A4419%3A5%0AcreateInjector%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A4344%3A11%0Abootstrap%2FdoBootstrap%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A1676%3A20%0Abootstrap%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A1697%3A1%0AangularInit%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A1591%3A5%0A%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A29013%3A5%0Atrigger%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A3057%3A7%0AdefaultHandlerWrapper%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A3346%3A3%0AcreateEventHandler%2FeventHandler%40https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fangularjs%2F1.4.8%2Fangular.js%3A3334%3A9%0A

I checked the link and it said that something was wrong when it loaded the 
module but  didn't give much more information than that. I tried Google 
searching the error but couldn't find anything. The code works fine in both 
Chrome and Safari.

Here's the link to Plunker with my 
code: http://plnkr.co/edit/cVz3drGY62T3CGRmJR1U?p=preview The Plunker also 
works fine in Chrome and Safari but doesn't work properly in Firefox. My 
Firefox 
is Version 42.

If anyone could give it a quick look over to see if I missed a step, it 
would be greatly appreciated.


-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to