Video description
"An enjoyable and important read. Highly recommended!"
David Barkol, Microsoft
Angular 2 Development with Typescript introduces Angular 2 to developers comfortable using AngularJS v1 or other web frameworks. You'll start by exploring how Angular 2 works in an online auction application. Along the way, you'll learn to use TypeScript to write type-aware classes, interfaces, and generics. This is a practical book/course that covers real-world development concerns like data and views, user interaction with forms, and communicating with servers, as well as testing and deploying your Angular 2 applications.
Whether you're building web clients or full-featured SPAs, using the Angular 2 web framework is a liberating experience. Its declarative style makes it easy to define and add features without a lot of manually written boilerplate, and the fully integrated TypeScript language gives you the benefits of a statically typed language within the JavaScript ecosystem. Not to mention that adding Angular 2 and TypeScript to your skill set makes you a hot commodity.
Inside:
- Design and build modular applications
- Transpile TypeScript into today's JavaScript
- Use modern JavaScript workflow tools like npm, Karma, and Webpack
Target audience are intermediate web developers with a working knowledge of JavaScript. No TypeScript or AngularJS experience needed.
Yakov Fain and Anton Moiseev are experienced web application developers. Yakov has written several books on software development.
An instant classic! The only book you need to learn and master Angular 2 and TypeScript.
David DiMaria, MapQuest
Excellent! The purpose of this book is not knowledge but *action*.
Irach Ilish Ramos Hernandez, Groupaxis
Shows you how to leverage the combined power of TypeScript and Angular 2, with all the best practices baked in.
Sebastien Nichele, Pacifica
NARRATED BY MARK THOMAS
Table of Contents
Chapter 1. Introducing Angular 2
Chapter 1. Libraries
Chapter 1. High-level overview of AngularJS
Chapter 1. High-level overview of Angular
Chapter 1. Performance improvements
Chapter 1. An Angular developer’s toolbox
Chapter 1. How things are done in Angular
Chapter 2. Getting started with Angular
Chapter 2. Hello World in ES5
Chapter 2. The building blocks of an Angular application
Chapter 2. The SystemJS universal module loader
Chapter 2. Getting started with SystemJS
Chapter 2. Selecting a package manager
Chapter 2. Starting an Angular project with npm
Chapter 2. Hands-on: getting started with the online auction
Chapter 2. Developing the home page
Chapter 2. The product item component
Chapter 2. Launching the online auction application
Chapter 3. Navigation with the Angular router
Chapter 3. The building blocks of client-side navigation
Chapter 3. Navigating to routes with navigate()
Chapter 3. Passing data to routes
Chapter 3. Child routes
Chapter 3. Guarding routes
Chapter 3. Developing a SPA with multiple router outlets
Chapter 3. Splitting an app into modules
Chapter 3. Hands-on: adding navigation to the online auction
Chapter 3. Adding a RouterLink to ProductItemComponent
Chapter 4. Dependency injection
Chapter 4. Benefits of dependency injection
Chapter 4. Injectors and providers
Chapter 4. A sample application with Angular DI
Chapter 4. Switching injectables made easy
Chapter 4. Declaring providers with useFactory and useValue
Chapter 4. The hierarchy of injectors
Chapter 4. Hands-on: using DI in the online auction application
Chapter 4. Modifying ProductDetailComponent
Chapter 5. Bindings, observables, and pipes
Chapter 5. Binding to properties and attributes
Chapter 5. Binding in templates
Chapter 5. Reactive programming and observables
Chapter 5. Observable event streams
Chapter 5. Cancelling observables
Chapter 5. Pipes
Chapter 5. Hands-on: filtering products in the online auction
Chapter 6. Implementing component communications
Chapter 6. Input and output properties
Chapter 6. The Mediator pattern
Chapter 6. Changing templates at runtime with ngContent
Chapter 6. Component lifecycle
Chapter 6. Using ngOnChanges
Chapter 6. A high-level overview of change detection
Chapter 6. Exposing a child component’s API
Chapter 6. Hands-on: adding a rating feature to the online auction
Chapter 7. Working with forms
Chapter 7. Template-driven forms
Chapter 7. Reactive forms
Chapter 7. Refactoring the sample form
Chapter 7. Form validation
Chapter 7. Validating reactive forms
Chapter 7. Hands-on: adding validation to the search form
Chapter 8. Interacting with servers using HTTP and WebSockets
Chapter 8. Creating a web server with Node and TypeScript
Chapter 8. Live TypeScript recompilation and code reload
Chapter 8. Bringing Angular and Node together
Chapter 8. Making GET requests with the Http object
Chapter 8. Client-server communication via WebSockets
Chapter 8. Turning a WebSocket into an observable
Chapter 8. Hands-on: implementing product search and bid notifications
Chapter 8. Broadcasting auction bids using WebSockets
Chapter 9. Unit-testing Angular applications
Chapter 9. What to test
Chapter 9. What comes with Angular’s testing library
Chapter 9. Testing a sample weather application
Chapter 9. Testing the weather component
Chapter 9. Running tests with Karma
Chapter 9. Testing StarsComponent
Chapter 10. Bundling and deploying applications with Webpack
Chapter 10. Hello World with Webpack
Chapter 10. How to use loaders
Chapter 10. Creating a basic Webpack configuration for Angular
Chapter 10. Creating development and production configurations
Chapter 10. A custom type-definition file
Chapter 10. What’s Angular CLI?
Chapter 10. Hands-on: deploying the online auction with Webpack
Chapter 10. Running tests with Karma