Getting Started with AngularJS for absolute Beginners

AngularJS is a JavaScript framework to enhance static HTML. AngularJS is designed by Google. Google says “AngularJS is a Superheroic JavaScript MVC (Model-View-Controller) Framework”. Using AngularJS you can extend your HTML vocabulary. Creating directives is an advanced feature of AngularJS. Use of directives in AngularJS help to improve reuse of Codes. Controller is an another feature of AngularJS. Inside the controller AngularJS provides $scope. Which is accessible to HTML. AngularJS is easy & quick to Develop.

How to integrate AngularJS Library?

Look at the codes below here we created a Hello World program using AngularJS.

<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.0-beta.7/angular.min.js"></script>
<div>
<label>Country</label>
<input type="text" ng-model="CountryName" placeholder="Enter your Country Name here…">

<hr>

<h3>Hello {{ CountryName}}!</h3>
</div>

The AngularJS library here we referred from Google API’s.

Why to use AngularJS?

When there are so many JavaScript frameworks available in the market why I will choose AngularJS?

1. Other frameworks deal with HTML’s shortcomings by providing an imperative way for manipulating the DOM using JavaScript.

2. Neither address the root problem that HTML was not designed for dynamic views.

3. HTML is great for static web pages, but HTML fails to provide dynamic views in web-applications.

4. AngularJS lets you extend HTML Vocabulary.

5. The resulting environment is extraordinarily expressive, readable, & quick to develop.

Can AngularJS used with other libraries?

Yes. It is fully extensible & works well with other libraries. For an example Jquery, Bootstrap or Foundation like other layout frameworks.

for more information’s in AngularJS, please visit https://angularjs.org