Documentation
Search…
Creating an Angular Project
The Angular stack comes with the Angular CLI (ng) installed which allows you to create a new Angular project:
1
ng new hello-world
Copied!
Once created, the Angular web server can be started by running the following command:
1
cd hello-world
2
ng serve --open --host 0.0.0.0 --disable-host-check
Copied!
To view the project, open a Web Browser tab and enter localhost:4200 in the URL address bar. You can also configure the starting browser URL to localhost:4200 so that Web Browser tabs open to this URL by default.
Angular app running in Web Browser tab

Excluding the node_modules folder from saving

The node_modules folder for Angular projects usually exceeds the file size limit in the lab. Therefore it is necessary to exclude that folder from being saved using the instructions here.