One Pager Cheat Sheet
- Angular is a
free and open-sourceweb applicationframeworkdeveloped by Google, based on NodeJS, which uses Typescript as main development language to createSingle Pageapplications and offersscalability,maintainabilityand many other advantages, such as adependency injection, anMVC (or component-based) architectureand ahighly reusablecode. - Unit tests can be easily created in
Angularusing theJasmineframework, which provides anexpect-assertionapproach written in JavaScript. - Single-page applications
load only onceand are created withJavascript frameworkslike Angular, leveraging itsAhead of Time compilationfor faster rendering, smaller app size, quick template errors detection, better security and fewer async requests, and it consists of hierarchical components that can be reused and passed different kind of values. - The code is compiled during the build process and the result of the compilation is
included in the application bundle, resulting in faster page load times with AOT compilation. - Pipes are user-defined functions which are accessed using the
pipe symbol"|" that can be chained together to transform an input value in Angular. - False,
Pipesin Angular can either beSystem-defined, provided by the Angular library, orUser-defined, custom-made functions that utilize thePipeTransforminterface. - In Angular, lifecycle hooks are used to create, render, and destroy components, while services provide functions that can be used across components, and observables provide a way to execute asynchronous events and deliver values over a period of time. Furthermore, ngFor is a directive used to iterate over an array or an object to create a template for each element.
- Yes,
ngOnChanges()will be triggered whendata-boundinput properties of a component are changed, such as throughproperty bindingoruser input.

