Getting Started with Angular

·

1 min read

Step 1: Run the ng new my-angular-app this will create a boilerplate

Step 2: type cd my-angular-app to change directory and code . to open an instance of vscode in that folder:

Step 3: Edit the HTML at the src/app/app.component.html content to <h1>Hello, Froilan</h1>:

to:

Step 4: To see the preview run the ng serve this command will give a localhost/:4200:

To upload to GitHub:

Step 1: Ctrl + Shift + G vscode will open the Version Control System tab on the commit message box type init:

Step 2: Click the commit button:

Step 3: Clicking Publish branch:

Step 4: Clicking Public Repository:

Step 6: Congrats on your application!: