This project was generated with Angular CLI version 8.3.4.
Preview on gh-pages. Mock data provided by json server.
- Prerequisites
- Webpack;
- AngularCLI;
- TypeScript.
- Components
- Components;
- Lifecycle;
- Template DSL and data-binding, Custom component.
- Directives + Pipes
- Directives;
- Types of directives;
- Built-in directives;
- Custom directive;
- Pipes;
- Built-in pipes;
- Custom pipes;
- Async pipes.
- Modules & Services
- Services;
- DI;
- Modules, Lazy Loading.
- Change detection
- Zone js;
- Flow;
- Immutable data structure;
- Push strategy.
- Routing
- Routing;
- Lazy and preloading;
- CanActivate, СanDeactivate.
- HTTP
- Communication with server-side.
- Rxjs observables
- Reactive programming basics;
- Comparison with promises.
- Ngrx/Redux
- Predictable state container for JavaScript apps.
- Forms
- Forms in Angular;
- Template driven forms;
- Model-driven forms;
- Built-in validation;
- Custom validation.
- Unit testing
- Components and directives UT;
- Services and pipes UT.
- Internationalization
- i18n.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng deploy
to execute angular-cli-ghpages:deploy.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.