In this blog we will see,
- What is AngularJS
- Steps to start with Angular
- A simple AngularJS example
What is AngularJS?
AngularJS is a JavaScript framework developed by Google.
AngularJS is an open source project, which means it can be freely used, changed, and shared by anyone.
Steps to start with Angular JS.
Step 1
To build AngularJS applications you only need one script file, angular.js.
You can find the script file on the following link. Below is the screenshot for the page you will visit.
Click on ‘Download AngularJS 1’
FromBuild options select ‘Uncompressed’ Version. The advantage of the uncompressed version, i.e. (angular.js) over Minified version (angular.min.js), is in the developer tool you will get an error message which is readable if you usethe uncompressed version.
E.g.
Step 2
Include ng-app attribute. Ng stands for Angular. It is a directive which is a starting point of AngularJS Application. You can place it at any level i the html page but generally it is placed at the root or body tag level so that entire page will be managed by angular.
Simple AngularJS example
So by using the above code you will be able to create a simple AngularJS application.