Run ng serve 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. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.
Here are the Angular concepts covered during this workshop:
-
asyncpipe and the no-subscription pattern- Template microsyntax variables for structural directives
- Template reference variables (hashtag syntax)
tapoperator from RxJs
-
- Reactive programming with Observable swapping
mapoperator from RxJsng-containeras an empty DOM wrapper for content to show/hide
-
FormControland how to listen to form updates- Creating a custom pipe to format data
withLatestFromoperator from RxJs- How to combine multiple Observable streams into one
- Using
innerHTMLto render dynamically generated HTML code
-
switchMapoperator from RxJscombineLatestoperator from RxJs- Using RxJs
Subjectto create action streams - How to combine dynamic Observable streams that evolve over time
-
- Refactoring HTML templates and TypeScript code into reusable components
- Creating custom 2-way bindings with the
[()]syntax - Using
InputandOutputfor component communication
-
- Creating custom directives
- Using custom CSS selectors with a directive
- Using
HostBindingandHostListener
-
- Multi-slot content projection
- Creating a highly reusable and customizable component
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.