Wednesday, 23 September 2015

Angular JS Basic





Today angular JS is the most fashionable (useful) topic in the java script I am going to share
 some basic of angular js.

So What is angular js ?
Angular js is a framework that provide facility of extension HTML Language. We all know about
the HTML language so what is the extension is here it just like attribute, property of HTML Element so for that know as directives in angular js so many inbuilt directives present in 
angular js. I will describe about the directory later in this blog.

So now we are know that angular js is a framework so what is the difference between 
framework and over normal javascript library-

Library-Library is the group of function so we just include the reference of the library and use that 
functions directly like jquery.

Framework- In framework all the code files in details,The framework is in charge and it calls
into your code when it needs something app specific.  

So the main difference between both of them is “Inversion of control”
Inversion of control means when function called by library control would be present on your end 
But with a framework, the control is inverted: the framework calls you.

Angular js support MV* or MVW (Model View Whatever) pattern so it means it support all 
pattern like MVC,MVVM etc that’s way angular js is so popular now a days.

What is the advantage of the angular js?   

No comments:

Post a Comment