Angular 4/5 quick tips







how to add bootstrap:

npm install bootstrap@4.0.0-alpha.6 jquery tether --save

add the scripts and styles to your “.angular-cli.json”

add the following the styles and scripts section;

"styles": [
 "scripts": [

create new project:

ng new myapp

start server:

ng serve

create new component:

ng g component components/mynewcomponent

create new service:

ng g service services/mynewservice