Angular 15 Top Features

Ali Zeynalli
2 min readDec 17, 2022
Photo by Matt Artz on Unsplash

Angular version 15 is out and it brings plenty of new functionalities along with more stability and rifeness. Google has brought already many changes with Angular 14 but mostly with beta taste. But with newer version they stabilized pretty many things. The team refactored old compiler which enables more performant developer experience.
1. Standalone APIs became stable feature allowing to bootstrap application with only one component which also leads to avoiding usage of NgModules.

2. Directive Composition API helps reusing code by adding directives to host element. This feature also works only with standalone directives.

In the code snippet above we enhance MatMenu with two directives: HasColor and CdkMenu. MatMenu reuses all the inputs, outputs, and associated logic with HasColor and only the logic and the selected inputs from…

--

--

Ali Zeynalli

IT-Architect | BMW Group | M.Sc. Technical University of Berlin