Solved

Getting AngularJS to work on jsfiddle

Posted on 2016-11-01
7
92 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
LVL 57

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 57

Expert Comment

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

Featured Post

Quiz: What Do These Organizations Have In Common?

Hint: Their teams ended up taking quizzes, too.

Question has a verified solution.

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

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
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.
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…

724 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