112
AngularJS First Example
AngularJS applications are a mix of HTML and JavaScript. The first thing you need is an HTML page.
Second, you need to include the AngularJS JavaScript file in the HTML page so we can use AngularJS:
Note: You should always use the latest version of AngularJS, so it is not necessary to use the same version as the above example.
AngularJS First Example
Following is a simple "Hello Word" example made with AngularJS. It specifies the Model, View, Controller part of an AngularJS app.
View Part
Controller Part
Next TopicAngularJS Data Binding