GitHub Trends
10.1K subscribers
15.3K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#other #angular #angular_interview_questions #angular6 #angular7 #angularjs #interview_questions #javascript_framework #javascript_interview_questions #rxjs #typescript

Angular is a powerful framework for building web, mobile, and desktop applications. Here are the key points and benefits
- **Components** Organize the application into logical pieces, importing necessary components, directives, and services.
- **Templates** Share data and functionality across components.
- **Metadata**
- **Interpolation** Sets DOM element properties.
- **Event Binding** Synchronizes data between the component and the DOM.

- **Directives** Directives with a template.
- **Structural Directives** Modify the appearance or behavior of an element (e.g., `ngStyle`, `ngClass`).

- **Forms** Model-driven approach using FormControl and FormGroup.
- **Template-driven Forms**
- Enables client-side routing, allowing navigation between views without full page reloads.
- Uses `RouterOutlet` and `RouterLink` directives.

- **Dependency Injection**
- Handle asynchronous data streams using Observables and RxJS operators.
- Useful for HTTP requests and other asynchronous operations.

- **Animations**
- Use the `i18n` attribute to mark translatable content.
- Extract and translate text using tools like `ng xi18n`.

- **Security**:
- Use sanitization to prevent XSS attacks.
- Follow best practices like avoiding direct DOM manipulation and using the `DomSanitizer`.

- **Testing**

https://github.com/sudheerj/angular-interview-questions