Intro. TypeScript
Modules
Components
Directives
Services
Router
Module
Components
Directives
Services
Router
<app-post *ngFor="let post of posts"></app-post>
<button myCoolButton>Click Me!</button>
<p *ngIf="amIAdmin">Woohoo, I'm an admin!</p>
Component
Service
Backend
Router
Feed page
Profile page
npm install -g @angular/cli
ng new my-new-app
cd new my-new-app
ng serve
npm install -g typescript
Compiling code:
tsc fileName.ts
Project should contain:
tsconfig.json
tsLint