Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Two Uncaught TypeError-s in angle-up.js #5

Closed
zigomir opened this Issue Nov 3, 2012 · 17 comments

Comments

Projects
None yet

zigomir commented Nov 3, 2012

I get two errors when opening a blank rails view with angular-rails gem included:

Uncaught TypeError: Object # has no method 'service' angle-up.js:123
Uncaught TypeError: Object # has no method 'compile' angle-up.js:89

I had exactly the same issue, didn't find a fix for it yet.

Same problem here!

+1

fleck commented Jan 23, 2013

+1

fleck commented Jan 23, 2013

For a quick fix just remove the line
//= require angle-up
from your application.js file.
angle-up isn't part of AngularJS, removing it from your project won't affect AngularJS.

rubinsh commented Feb 25, 2013

+1

saberma commented Mar 19, 2013

+1

frausto commented Mar 21, 2013

+1

uncoder commented Mar 26, 2013

+1

jgrowl commented Mar 29, 2013

+1

snooc commented Mar 29, 2013

This error only happens when you have an empty project. Once you create a controller, it goes away.

@snooc That was not my experience I had 1 model and two controllers and the problem persisted. @fleck fix worked.

@snooc where you talking about rails controllers or angular controllers?

I am also facing same problem. When I added gem to my app it gives following error.

Uncaught TypeError: Object # has no method 'service'
Uncaught TypeError: Object # has no method 'compile'
Port error: Could not establish connection. Receiving end does not exist.

Any help?

wink commented Sep 26, 2013

+1

zigomir commented Sep 10, 2016

I don't care anymore :D

@zigomir zigomir closed this Sep 10, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment