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.

# Hello {{helloTo.title}} !

Test it Now

# View Part

# Hello {{helloTo.title}} !

# Controller Part