Created
December 16, 2016 22:38
-
-
Save javaeeeee/8b42a0c860dc55c105783aa1b4dbc702 to your computer and use it in GitHub Desktop.
An HTML file with module and controller added
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <title>Hello World AngularJS application</title> | |
| <script data-require="[email protected]" data-semver="1.6.0" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.0/angular.js"></script> | |
| <script src="script.js"></script> | |
| </head> | |
| <body ng-app='app'> | |
| <h1>Hello World AngularJS application</h1> | |
| <section ng-controller="HelloController"> | |
| <h4>AngularJS Greeting</h4> | |
| <label for="name">Type your name here:</label> | |
| <input id=name type="text" ng-model="myModel"> | |
| <p>Hello {{myModel}}!</p> | |
| </section> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment