更新时间:2021-07-02 20:59:20
coverpage
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Why subscribe?
Customer Feedback
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
Getting Started with Angular
Introducing Angular
The birth of AngularJS
Why AngularJS?
Angular 2
The benefits of Angular 2
The development process in Angular 2
What is ECMAScript 6?
What is a transpiler?
What is TypeScript?
The development process in JavaScript
Development with a build-time transpiler
Development with a runtime transpiler
Transpiler options
What happened to Angular 3?
What's new in Angular ?
Why Angular for .NET developers?
Building a Hello World app with Angular
Setting up the development environment
Installing Visual Studio Code
Installing Node.js
Creating an Angular application
The architecture of Angular
Summary
Angular Building Blocks - Part 1
Modules (NgModules)
Components
The life cycle of a component
Decorators and metadata
Templates
Inline templates
Isolated templates
The local template variable
Binding
One-way binding
Interpolation binding
Property binding
Event binding
Two-way binding
Directives
Structural directives
Attribute directives
Dependency injection
Why dependency injection?
The role of injectors
Handling dependency injection in Angular
Angular Building Blocks - Part 2
Forms
Tools for forms
Types of Angular forms
Templete driven forms
Model-driven forms
Fundamental objects of model-driven forms
Pipes
Common pipes
Pipe with parameters
Chaining pipes
Currency pipes
Date pipes
Uppercase and lowercase pipes
JSON pipes
AppComponent
Routers
The core concept of Component Routers
Setting up a Component Router
Configuring routes
Router Outlet and Router Links
Services
Observables
Using TypeScript with Angular
Basic types
Boolean
Number
String
Array
Enum
Any