Posts

Showing posts with the label Modules

Angular interview questions

Image
Key Concepts for Interviews » RxJS: Master reactive programming with Observables for handling asynchronous data streams. »   Modules: Organize your app's functionality with feature-based modules. »   Routing: Navigate seamlessly between views using Angular's powerful routing system. »   Dependency Injection: Enhance flexibility by managing service dependencies dynamically. »   Angular Universal: Boost SEO and performance with server-side rendering (SSR). »   AOT Compilation: Optimize app performance by compiling templates during the build phase. »   Custom Pipes: Transform data in templates with built-in or user-defined pipes.  interview questions ⇲   1. What are Angular Directives? Question : Explain Angular directives. Can you give examples? Answer : Angular directives are used to extend the HTML by adding custom behavior to elements. There are three types: Components : A directive with a template. Structural Directives : Change the DOM structure ( *ngIf , *ngFor ). Attr