what is angularjs
why we use angularjs
Angular Js gives a robust “SPA” frameowork for building robustclient -centric application.
It has following features as follow:
- data binding
- history routing
- dependency injection
what is directive:
A directive is really a way to teach HTML new tricks.
The web when it first came out was really just designed to display static pages. As we all know it’s become very dynamic and we’ve dealt with that pretty well.
Angular takes it up a whole notch and allows us to extend HTML very easily by simply adding attributes, elements or comments.
dependency injection comes in because your module might actually rely on other modules to get data.
And more to see go to angularjs