ls01 - components
, component input
ls02 - Component output
, pipe
, JS Crash course
, interface
ls03 - nothing happend
ls04 - Moudle (overview)
, service (sync)
, ngmodel
, Template variables (#)
ls05 - Routing
RxJS
, Forms
ls06 - https://github.com/YaakovHatam/jbh-animals
check if angular installed: ng --version
if not install, instal it globally running the command npm install -g @angular/cli
ng new my-app
cd my-app
code .
ng generate component cmp-name
ng g c cmp-name
npm start
Run npm start
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component.
Run ng generate service services/service-name
to generate a new service.
Run ng generate pipe pipes/pipe-name
to generate a new pipe.