Advantages of AngularJS
- AngularJS provides capability to create Single Page Application in a very clean and maintainable way.
- AngularJS provides data binding capability to HTML thus giving user a rich and responsive experience
- AngularJS code is unit testable.
- AngularJS uses dependency injection and make use of separation of concerns.
- AngularJS provides reusable components.
- With AngularJS, developer write less code and get more functionality.
- In AngularJS, views are pure html pages, and controllers written in javascript do the business processing.
- On top of everything, AngularJS applications can run on all major browsers and smart phones including Android and iOS based phones/tablets.
Disadvantages of AngulaJS
Though AngularJS comes with lots of plus points but same time we should consider the following points:
- Not Secure : Being JavaScript only framework, application written in AngularJS are not safe. Server side authentication and authorization is must to keep an application secure.
- Not degradable: If your application user disables Javascript then user will just see the basic page and nothing more.