One Pager Cheat Sheet
- Angular is a
free and open-source
web applicationframework
developed by Google, based on NodeJS, which uses Typescript as main development language to createSingle Page
applications and offersscalability
,maintainability
and many other advantages, such as adependency injection
, anMVC (or component-based) architecture
and ahighly reusable
code. - Unit tests can be easily created in
Angular
using theJasmine
framework, which provides anexpect-assertion
approach written in JavaScript. - Single-page applications
load only once
and are created withJavascript frameworks
like Angular, leveraging itsAhead of Time compilation
for 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,
Pipes
in Angular can either beSystem-defined
, provided by the Angular library, orUser-defined
, custom-made functions that utilize thePipeTransform
interface. - 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-bound
input properties of a component are changed, such as throughproperty binding
oruser input
.