Author : MD TAREQ HASSAN | Updated : 2021/03/25
What is Angular?
- A TypeScript-based open-source web application framework
- A platform and framework for building single-page client applications using HTML and TypeScript
- Angular is written in TypeScript and it implements core and optional functionality as a set of TypeScript libraries that you import into your apps
Notes:
- Angular is created for enterprise-scale applications
- Angular is verbose and complex
- Steep learning curve
Angular vs AngularJS
- AngularJS is written in JavaScript, while Angular (Angular 2+) are written in TypeScript
- AngularJS is the first version, and later versions are re-written in TypeScript and re-named as Angular
- In September 2016, Google released Angular 2. It was a complete rewrite of a framework by the same team, matching the increasingly modern requirements of the web. The Angular community is split between AngularJS and modern Angular
- Angular is component-based, while AngularJS uses directives
- More
Why to use?
- Develop across all platform (web, mobile web, native mobile and native desktop)
- Achieve the maximum speed possible on the Web Platform today, and take it further, via Web Workers and server-side rendering
- Component-based architecture that provides a higher quality of code
- Reusability
- Readability
- Unit-test friendly
- Maintainability
- Better tooling, cleaner code, and higher scalability with TypeScript
- Efficient, asynchronous programming with RxJS
- The platform-agnostic philosophy
- Angular Material streamlines Material Design interface engineering
- Powerful ecosystem