According to Wikipedia
, “Angular (commonly referred to as “Angular 2+” or “Angular v2 and above”) is a TypeScript-based open-source web application framework led by the Angular Team at Google and by a community of individuals and corporations. Angular is a complete rewrite from the same team that built AngularJS.”
According to Stack Overflow Developer Survey 2018, the front-end framework, Angular, is used by 36.9% of software developers for creating user interface.
Some of Angular’s irresistible features include templating, two-way binding, modularization, RESTful API handling, dependency injection, AJAX handling etc., which makes it perfect for building dynamic Single Page applications.
Some of the primary reasons for selecting Angular as one of your technologies in the tech-stack are:
- Security is a critical aspect of Typescript due to the fact that here, users can define their own data types that include enumerations (enums), classes, interfaces, arrays and tuple etc. besides the built-in data types. This ensures early detection of errors.
- Typescript is not a standalone language, unlike CoffeeScript or Dart. Also, it supports, and in-fact complements all the core features.
- Provided that acceptable map files have been created at time of build, one distinct advantage with Typescript is that it can easily be debugged in the browser or an editor. Inbuilt features include improved navigation, refactoring, and autocompletion services.
3) Testing is untangled: Automation in testing can be easily accomplished through precise separation of modules, enabling the loading of only the necessary services. “One-file-one-order” principle is generally followed for better efficacy.
4) Ease of organizing functionality through modules:
A bucket structure is followed here for organization of codes. Developers refer to buckets like components, directives, pipes, or services as modules. The advantage of adopting the modular structure are:
- a) Featurewise separation
- b) Putting apart re-usable components
- c) Enabling of Lazy loading
5) Developed and supported by Google: The support structure framed by Google for Angular is a long-term one and this goes to show the kind of roadmap Google has in place as far as continuously improving and re-inventing with extended, updated and improved features is concerned. Questions of stability and knowledge transfer is clearly out of picture.