Solved

Getting AngularJS to work on jsfiddle

Posted on 2016-11-01
7
75 Views
Last Modified: 2016-11-02
Why isn't AngularJS working on this jsfiddle?

https://jsfiddle.net/TomJSFiddleNew/oq62mxha/2/
0
Comment
Question by:Tom Knowlton
  • 4
  • 2
7 Comments
 
LVL 43

Assisted Solution

by:zephyr_hex (Megan)
zephyr_hex (Megan) earned 250 total points
ID: 41869307
I would start by correcting the errors showing in F12 console.
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 41869308
Can you paste the errors you saw in a reply post?  I ask so I can verify that the errors you are talking about are the same ones I'm getting.

Do the errors actually impact the functioning of AngularJS?
0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 41869314
Try this one:

https://jsfiddle.net/TomJSFiddleNew/ohe6Lyjb/2/


Should have no errors in Chrome dev tools (which is what I used).
0
How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

 
LVL 56

Accepted Solution

by:
Julian Hansen earned 250 total points
ID: 41869731
You don't have an ng-app defined to link your markup to the angular module you have defined

Example
<body ng-app="AngularExamplesApp">   

Open in new window

0
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 41870482
That was it, thank you!

https://jsfiddle.net/9vwpqt0a/
0
 
LVL 5

Author Closing Comment

by:Tom Knowlton
ID: 41870494
Thanks again.
0
 
LVL 56

Expert Comment

by:Julian Hansen
ID: 41870526
You are welcome.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question