0
0
Angularframework~5 mins

Creating a new Angular project - Quick Revision & Summary

Choose your learning style9 modes available
Recall & Review
beginner
What command do you use to create a new Angular project?
You use ng new project-name to create a new Angular project with the Angular CLI.
Click to reveal answer
beginner
What does the Angular CLI do when you run ng new?
It creates a new folder with the project name, sets up the basic files and folders, installs dependencies, and configures Angular settings.
Click to reveal answer
beginner
Why is it important to have Node.js installed before creating an Angular project?
Because Angular CLI uses Node.js to run commands and manage packages needed for the project.
Click to reveal answer
intermediate
What is the purpose of the --routing option when creating a new Angular project?
It adds routing support to your project, creating files to help manage navigation between pages.
Click to reveal answer
beginner
How do you start the Angular development server after creating a project?
Run ng serve inside the project folder to start the server and see your app in the browser.
Click to reveal answer
Which command creates a new Angular project named 'my-app'?
Ang new my-app
Bng create my-app
Cangular new my-app
Dnpm init my-app
What must be installed before using Angular CLI to create a project?
AJava
BPython
CNode.js
DRuby
What does the --routing flag do when creating a new Angular project?
AAdds routing support
BEnables server-side rendering
CInstalls extra UI libraries
DCreates a backend API
After creating a new Angular project, which command starts the development server?
Anpm start
Bng serve
Cng start
Dnode server.js
What folder structure does Angular CLI create by default?
Alib, bin, config
Bapp, public, views
Cassets, components, services
Dsrc, e2e, node_modules
Explain the steps to create a new Angular project from scratch.
Think about what tools you need and the commands you run.
You got /6 concepts.
    Describe what happens behind the scenes when you run ng new.
    Consider file creation and package installation.
    You got /5 concepts.