Содержание
- 2. Why? Full development process Cross platform Speed and performance Productivity
- 3. Why? Modules. Components. One-way and two-way data bindings. Dependency injection. Routing. Pipes. etc.
- 4. Getting started Webpack Angular CLI
- 5. Getting started Install Node.js Install Angular-CLI globally ng new ${project-name} ng serve
- 6. App loading index.ts -> platformBrowserDynamic().bootstrapModule(AppModule) bootstrap: [ AppComponent ]
- 7. NgModule Angular applications are modular. Angular has own modular system called ngModules. @NgModule({})
- 8. NgModule properties Declarations. Exports. Imports. Providers. Bootstrap.
- 9. What is component? A component controls a part of screen called a view. Component View
- 10. Why? Reusable. Customizable. Independent from another components. Easy to understand. Develop faster. Etc.
- 11. Component structure in application
- 12. Getting started ng generate component component-name ng g component directory/component-name
- 13. Component options selector template / templateUrl styles / styleUrls encapsulation changeDetection Etc.
- 14. Styles and tempalte styles template :host selector :host-context selector
- 15. Data binding (One way / Two way) {{title}} Lorem save
- 17. Скачать презентацию