My Blog

My WordPress Blog

My Blog

My WordPress Blog

Month: August 2025

Testing & Building a Project

In this chapter will discuss the following topics − Testing Angular Project During the project setup, the required packages for testing are already installed. There is a .spec.ts file created for every new component, service, directive, etc. We are going to use jasmine to write our test cases. For any changes added to your component, services, directives […]

Decorators & Metadata

Decorators are special functions used to add metadata, modify behavior, or add some additional functionalities to classes, methods, properties, or parameters in programming languages like TypeScript or JavaScript. In Angular, each decorator has a base configuration with some default values and you can change or update it according to the project’s need. It is defined using the @ symbol followed by a […]

Displaying Data

Displaying Data in Angular Displaying data in Angular involves accessing the properties of a component class and rendering their values in the template. Angular provides various ways to display these data values (including variables, objects, arrays, etc.) in the template (HTML) using features such as interpolation, property binding, and structural directives. Let’s discuss a few different ways to display […]

Configuration

Angular Configuration The Angular configuration is a set of instructions that defines how the Angular application is built and developed. It includes various information about the Angular application such as project files, tools, environments, and some other dependencies. Important Configuration files in Angular Here is a list of important configuration files that are automatically created when an Angular application is […]

Scroll to top