Solved

Getting AngularJS to work on jsfiddle

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

https://jsfiddle.net/TomJSFiddleNew/oq62mxha/2/
0
Comment
Question by:knowlton
  • 4
  • 2
7 Comments
 
LVL 42

Assisted Solution

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

Author Comment

by: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: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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 51

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:knowlton
ID: 41870482
That was it, thank you!

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

Author Closing Comment

by:knowlton
ID: 41870494
Thanks again.
0
 
LVL 51

Expert Comment

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

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now