-
Notifications
You must be signed in to change notification settings - Fork 1
Angular Crash Course
Pritesh Patel edited this page May 21, 2019
·
1 revision
https://app.pluralsight.com/library/courses/angular-crash-course/
- weight tracking app tutorial
- https://github.com/joeeames/PSAngularCrashCourse
- TypeScript is a JavaScript transpiler
- Provides good auto-complete help
- It's a way to add types to JavaScript - e.g. variables, parameters and function return types
- Generics - specifies a sub-type
- Decorators - this is a JavaScript concept rather than a TypeScript one. understand it's syntax and usage.
Some core features:
- create a new project / upgrade to a new version of Angular
- `npm i @angular/cli -g'
-
ng new myproj1- new project -
ng generate component community/CommunityHelper/ng g c community/CommunityHelper- create Angular objects
- the entry point for the Angular compiler and process - angular.json
"main" - the module specifies the component to start with in
bootstrapdecorator property
- create models in 'app\model` e.g.
entry.ts - a model is a class that is exported
-
npm startcompiles a project