Angular beginner steps

I got excited about Angular! And jumped straight in the deep end like always.

Here’s a few pointers to get started yourself.
Prepare for a bit of a learning curve, depending on your level of experience.

You need to have installed node.js


To get the latest version of Angular :
npm install -g @angular/cli


now ng is short for Angular

To create a new project :
ng new projectName


To generate a new component :
ng generate c componentName


To start the app
ng serve



Angular is build for testing and when generating a project or component – Test files will be generated by default.
I like that a lot, because it reminds you to write those fu…. tests.

To run the test

ng test



The quest will continue…