Which Angular CLI command is used to create a new Angular project?
- ng create project
- ng generate project
- ng new
- ng start project
The command to create a new Angular project using Angular CLI is ng new. It sets up a new Angular project with the necessary files and dependencies.
Loading...
Related Quiz
- How can you access a specific form control within a form group in Angular?
- You are building a real-time dashboard that fetches data from multiple sources. You want to update the UI as soon as any of the data sources emit a new value. Which RxJS operator would be most suitable for this use case?
- You have an Angular service that makes HTTP requests. During testing, you want to ensure that your service handles errors correctly. Which tool or technique would you use to simulate an HTTP error response?
- You are tasked with optimizing an Angular application's load time. One strategy is to minimize the number of services that are eagerly loaded. Which technique can help achieve this?
- In an Angular application, how can you optimize a component to be checked only once by Angular's change detection mechanism?