?
Solved

Getting AngularJS to work on jsfiddle

Posted on 2016-11-01
7
Medium Priority
?
96 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 44

Assisted Solution

by:zephyr_hex (Megan)
zephyr_hex (Megan) earned 1000 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
Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

 
LVL 58

Accepted Solution

by:
Julian Hansen earned 1000 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 58

Expert Comment

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

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
Article by: DanRollins
This article describes a JavaScript program that creates a maze made of hexagonal cells.  In Part 2 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7850-Hex-Maze-Part-2.html), we'll extend the program by adding a depth-…
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…
Suggested Courses

765 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