Angular Hello World

Creating the App

To create an Angular app, you first need to install NodeJs and its packet manager NPM. NPM will help you install all the other necessities on your machine. Most important tool is Angular CLI for this task. You can install Angular-CLI globally on your machine with the command `npm install -g @angular/cli` in your terminal.

Angular-CLI creates a hello world angular application with all required configuration with a simple command; `ng new name-of-your-app`. This will create the starter app bundled in a folder that has the same name with your app name.

To start the development server you can use the command `ng serve`. This will serve the app on your localhost with default port 4200.

Editing the App

Changes you make will automatically trigger a refresh in the development server and browser tab. You can see the changes directly when you edit the application while serving it.

Folder Structure