Mark As Completed Discussion

One Pager Cheat Sheet

  • Angular is a free and open-source web application framework developed by Google, based on NodeJS, which uses Typescript as main development language to create Single Page applications and offers scalability, maintainability and many other advantages, such as a dependency injection, an MVC (or component-based) architecture and a highly reusable code.
  • Unit tests can be easily created in Angular using the Jasmine framework, which provides an expect-assertion approach written in JavaScript.
  • Single-page applications load only once and are created with Javascript frameworks like Angular, leveraging its Ahead 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 be System-defined, provided by the Angular library, or User-defined, custom-made functions that utilize the PipeTransform 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 when data-bound input properties of a component are changed, such as through property binding or user input.