Posts

Showing posts from February, 2025

Angular Basics

 Angular is a typescript based framework created by Google to create SPA(Single Page Applications). SPA:- SPA stands for Single Page Application is a web application which loads single html page and dynamically updates the content without reloading or refreshing the page. Component-Based Architecture:-  In Angular everything revolves around components. Component-Based Architecture is a design pattern which is used to build Modular, Reusable and Self Contained Components. Component:- Component is a building block of an Angular application. It consists of three parts- 1.) HTML Template- Includes the HTML file. 2.) Typescript File- Includes code and logic. 3.) CSS Styles- Includes styling. Data Binding:- Data Binding in Angular connects the component data to the Angular UI. There are some types/ways of Data Binding- 1.) Interpolation- ( {{}} ) One way Binding (Component to View) 2.) Property Binding- ( [] ) One way Binding (Component to View) 3.) Event Binding- ( () ) One way Bin...