Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

This JavaScript JSFiddle works -> http://jsfiddle.net/franklovecchio/E3YEt/

This CoffeeScript JSFiddle does not work -> http://jsfiddle.net/franklovecchio/E3YEt/230/

Appending angular.bootstrap(document, []) was supposed to make it work, but it does not. What is wrong?

The error I see in the console is "Uncaught Error: No module: Test"

share|improve this question
    
Why are there <script> tags in the CSS pane? –  Matt Ball May 2 '13 at 23:23
    
The JSFiddle I forked this from had them in there. It doesn't work even if you select the Angular option from the left-panel. jsfiddle.net/franklovecchio/E3YEt/230. (updated question) –  Frank LoVecchio May 2 '13 at 23:28
    
They both work for me. –  Ezekiel Victor May 3 '13 at 9:09
    
See updated question. "Uncaught Error: No module: Test" –  Frank LoVecchio May 3 '13 at 16:19

1 Answer 1

Well, you are trying to initiate the bootstrap process with the whole document - which is not an HTML Element.

I updated you fiddle here. I changed it, so that the app gets bootstrapped over the div, not the document itself.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.