Angular Basic concepts
@ Component ({ selector : 'app-root' , imports : [], templateUrl : './app.component.html' , styleUrl : './app.component.css' App-root-> defined in index.html app.module.ts-> at least 1 component. Grouping multiple components. Component is combination of HTML+CSS+.TS+spec.ts In ts file-> linking happens @componnet -> decorative, without decorative it is plain JS file convers ts file into component-> using decorator index.html-> Single page application A selector in Angular is like an address for a component. It tells Angular where to display that component in the HTML structure. When Angular finds the selector in the HTML, it replaces it with the component's template. Selectors can be element names, attributes, classes, or combinations of these. For example, a selector app-example would be used in HTML as <app-example> , while [app-example] would be used as <div ap...