Angular 2 Cookbook



Рейтинг:
Добавить в избранные:
Автор:
Категория: Программирование
Страниц: 102
Скачать Epub файл

1. Angular 2 Cookbook
2. Angular 2 Cookbook
3. Credits
4. About the Author
5. About the Reviewer
6. www.PacktPub.com
7. Customer Feedback
8. Dedication
9. Preface
10. What you need for this book
11. Who this book is for
12. Conventions
13. Reader feedback
14. Customer support
15. 1. Strategies for Upgrading to Angular 2
16. Componentizing directives using controllerAs encapsulation
17. Migrating an application to component directives
18. Implementing a basic component in AngularJS 1.5
19. Normalizing service types
20. Connecting Angular 1 and Angular 2 with UpgradeModule
21. Downgrading Angular 2 components to Angular 1 directives with downgradeComponent
22. Downgrade Angular 2 providers to Angular 1 services with downgradeInjectable
23. 2. Conquering Components and Directives
24. Using decorators to build and style a simple component
25. Passing members from a parent component into a child component
26. Binding to native element attributes
27. Registering handlers on native browser events
28. Generating and capturing custom events using EventEmitter
29. Attaching behavior to DOM elements with directives
30. Projecting nested content using ngContent
31. Using ngFor and ngIf structural directives for model-based DOM control
32. Referencing elements using template variables
33. Attribute property binding
34. Utilizing component lifecycle hooks
35. Referencing a parent component from a child component
36. Configuring mutual parent-child awareness with ViewChild and forwardRef
37. Configuring mutual parent-child awareness with ContentChild and forwardRef
38. 3. Building Template-Driven and Reactive Forms
39. Implementing simple two-way data binding with ngModel
40. Implementing basic field validation with a FormControl
41. Bundling controls with a FormGroup
42. Bundling FormControls with a FormArray
43. Implementing basic forms with NgForm
44. Implementing basic forms with FormBuilder and formControlName
45. Creating and using a custom validator
46. Creating and using a custom asynchronous validator with Promises
47. 4. Mastering Promises
48. Understanding and implementing basic Promises
49. Chaining Promises and Promise handlers
50. Creating Promise wrappers with Promise.resolve() and Promise.reject()
51. Implementing Promise barriers with Promise.all()
52. Canceling asynchronous actions with Promise.race()
53. Converting a Promise into an Observable
54. Converting an HTTP service Observable into a ZoneAwarePromise
55. 5. ReactiveX Observables
56. Basic utilization of Observables with HTTP
57. Implementing a Publish-Subscribe model using Subjects
58. Creating an Observable authentication service using BehaviorSubjects
59. Building a generalized Publish-Subscribe service to replace $broadcast, $emit, and $on
60. Using QueryLists and Observables to follow changes in ViewChildren
61. Building a fully featured AutoComplete with Observables
62. 6. The Component Router
63. Setting up an application to support simple routes
64. Navigating with routerLinks
65. Navigating with the Router service
66. Selecting a LocationStrategy for path construction
67. Building stateful route behavior with RouterLinkActive
68. Implementing nested views with route parameters and child routes
69. Working with matrix URL parameters and routing arrays
70. Adding route authentication controls with route guards
71. 7. Services, Dependency Injection, and NgModule
72. Injecting a simple service into a component
73. Controlling service instance creation and injection with NgModule
74. Service injection aliasing with useClass and useExisting
75. Injecting a value as a service with useValue and OpaqueTokens
76. Building a provider-configured service with useFactory
77. 8. Application Organization and Management
78. Composing package.json for a minimum viable Angular 2 application
79. Configuring TypeScript for a minimum viable Angular 2 application
80. Performing in-browser transpilation with SystemJS
81. Composing application files for a minimum viable Angular 2 application
82. Migrating the minimum viable application to Webpack bundling
83. Incorporating shims and polyfills into Webpack
84. HTML generation with html-webpack-plugin
85. Setting up an application with Angular CLI
86. 9. Angular 2 Testing
87. Creating a minimum viable unit test suite with Karma, Jasmine, and TypeScript
88. Writing a minimum viable unit test suite for a simple component
89. Writing a minimum viable end-to-end test suite for a simple application
90. Unit testing a synchronous service
91. Unit testing a component with a service dependency using stubs
92. Unit testing a component with a service dependency using spies
93. 10. Performance and Advanced Concepts
94. Understanding and properly utilizing enableProdMode with pure and impure pipes
95. Working with zones outside Angular
96. Listening for NgZone events
97. Execution outside the Angular zone
98. Configuring components to use explicit change detection with OnPush
99. Configuring ViewEncapsulation for maximum efficiency
100. Configuring the Angular 2 Renderer to use web workers
101. Configuring applications to use ahead-of-time compilation
102. Configuring an application to use lazy loading
thank you
Flame
cant read the code since it is all on a single line. Also this comments section is russian