Angular Framework

Another framework for web development using NodeJS modules and and NodeJS for development.

Starting a Project

shell command

ng new <project name>

Avoid using spaces in the project name

Creating a new Component

shell command

navigate into the project folder then execute the comand

ng generate component <component name>

Avoid using spaces the component name

Running an Application

shell comand

navigate in the project folder then execute the command

ng serve [--open] [--port <port #>]

--open tells ng to open the default browser once the server is up and running

--port <port #> binds the server to a particular port