What Is AngularJS (An Introduction To AngularJS)




AngularJs is a Javascript Framework that can be used to build Web Applications. Google developed this framework and its an open source project. This framework has many advantages over other javascript framework like jquery.

1. Dependency Injection.
2. Testing (Both Unit Testing and End To End Testing has been provided).
3. Model View Controller Architecture.
4. Two Way Data-Binding (Any change in Model or View will synchronize the other).


For building Web Application, we need Angular.js Script File. You can download from below address. Download AngularJS From Here

Introduction To AngularJS, What Is AngularJS, Start With AngularJS, Example On AgularJS, AngularJS Tutorial, AngularJS, JavaScript


The cdn version will be most suited for development. Advantages of cdn version are

1. Better Caching.
2. Decreased latency.
3. Increased Parallelism.




After downloading AngularJS cdn version, lets start coding. Include the cdn version of AngularJS within the Head Section. Now include ng-app attribute inside the HTML tag. ngAPP is one of the starting directive of AngularJS. In order to start coding on AngularJS, we need this ngApp directive.
ng stands for Angular on ngApp directive.

Introduction To AngularJS, What Is AngularJS, Start With AngularJS, Example On AgularJS, AngularJS Tutorial, AngularJS, JavaScript

First of all AngularJS looks for ng-app directive. Any code in AngularJS will be written inside curly bracket {{ }}. {{ 5 + 10 }} would result in 15, will be shown on the browser.
Any type of expression can be written inside this curly bracket {{ }}.