This is my first post and I am really new to computer programming so I apologize ahead of my time if my question is super simplistic. So I am trying to start an angular application and I currently have this:
<!DOCTYPE html> <html> <head ng-app> <title>Hello World</title> <body> </head> <h1>{{2+2}}</h1> </body> <script type="<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.7/angular.min.js"> </script> </head> What is supposed to happen is that when I click the html page there should be the number 4 pop up but instead this pops up: {{2+2}}. I am assuming that my angular code is not correctly linked but I am not sure. Do you have any ideas?
<script type="at the beginning of an otherwise valid script tag. Before continuing with JavaScript, make sure you know the very basics of HTML. Your head and body tags are also whacked (lack of a better term). After you can write a proper HTML document, then learn the basics of JavaScript without a library or framework, then mess around with Angular. You will do much better that way.