- AngularJS is an open source JavaScript MVC framework for web applications.
- AngularJS extends Html behavior by creating custom tags or adding attributes in tags.
- AngularJS can be used to create Single Page Applications (SPA).
Some of the reasons why I would prefer AngularJS:
- You can create a template and reuse it in application multiple times.
- You can bind data to any element in two ways, where two-way actually means changing data will automatically change element and changing element will change the data.
- You can directly call the code-behind code in your html.You can validate forms and input fields before submitting it without writing a single line of code.
- Allows you to control complete DOM structure show/hide, changing everything with AngularJS properties.
- AngularJS allows you to write basic flow end-to-end testing, unit-testing, UI mocks.