I run the code but the template ir not doing anything at all. Is there a problem with my syntax?

Recommended Answers

When I put in a wrong answer, it tells me I'm wrong. When I put in the right answer, it says I got it. What isn't working right exactly?

Jump to Post

All 2 Replies

Member Avatar

When I put in a wrong answer, it tells me I'm wrong. When I put in the right answer, it says I got it. What isn't working right exactly?

Member Avatar
    I think you should start by separating your ng-app and ng-controller onto separate DOM elements.  I've always built AngularJs apps where my ng-controller was on an element that was a child (or deeper descendant) of the element that was the ng-app container
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.