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
Solved

Getting AngularJS to work on jsfiddle

Posted on 2016-11-01
7
67 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 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: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
How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

 
LVL 55

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 55

Expert Comment

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

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Introduction JSON is an acronym for JavaScript Object Notation.  It is a text-string data transport mechanism, capable of representing simple or complex data structures in a consistent and easy-to-read manner.  Similar in concept to XML, but more e…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

840 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