What is the primary command to create a new Angular application using Angular CLI?
- ng create
- ng generate
- ng init
- ng new
The primary command to create a new Angular application using Angular CLI is ng new. This command initializes a new Angular project with default settings, including the necessary files and folder structure.
Loading...
Related Quiz
- The ng build command, by default, creates the output in the dist/______ directory.
- You have a requirement to dynamically load a component at runtime based on user actions. Which tools or concepts in Angular would you utilize to accomplish this?
- To update your Angular CLI globally to the latest version, you would use the command npm install -g ________.
-
When using
, which lifecycle hook is ideal for accessing projected content inside the child component? - When you want to disable a form control conditionally based on some logic, you would use the ______ attribute.