Getting Started with Angular - Second Edition

Fast-track your web development skills to build high performance SPA with Angular 2 and beyond

Getting Started with Angular - Second Edition

Learning
Minko Gechev

Fast-track your web development skills to build high performance SPA with Angular 2 and beyond
$27.99
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook

Instantly access this course right now and get the skills you need in 2017

With unlimited access to a constantly growing library of over 4,000 eBooks and Videos, a subscription to Mapt gives you everything you need to learn new skills. Cancel anytime.

Preview in Mapt

Book Details

ISBN 139781787125278
Paperback278 pages

Book Description

I'm delighted to see this new update and hope it helps you build amazing things with Angular. - Miško Hevery, Creator of AngularJS and Angular

Angular is the modern framework you need to build performant and robust web applications. This book is the quickest way to upgrade your AngularJS knowledge to the brave new world of Angular, and get grips with the framework.

It starts with an overview putting the changes of the framework in context with version 1. After that, you will be taken on a TypeScript crash-course so you can take advantage of Angular in its native, statically-typed environment. You'll explore the new change detection mechanism in detail, how directives and components have changed, how you create applications with Angular, and much more. Next, you'll understand how to efficienly develop forms, use the router, implement communication with HTTP services, and transform data with custom pipes. Finally, we will take a look at the Angular's Ahead-of-Time compiler, angular-cli and other such tools that help us build professional applications.

By the end of the book, you’ll be ready to start building quick and efficient Angular applications compatible with v2 and v4, that take advantage of all the new features on offer.

This book is up to date for the 2.4 release and is compatible with the 4.0 release as well.

Table of Contents

Chapter 1: Get Going with Angular
Angular and semver
The evolution of the Web - time for a new framework
The evolution of ECMAScript
Lessons learned from AngularJS in the wild
Summary
Chapter 2: The Building Blocks of an Angular Application
A conceptual overview of Angular
Changing directives
Getting to know Angular components
Angular modules
Pipes
Improving change detection
Services
The new router
Summary
Chapter 3: TypeScript Crash Course
Introduction to TypeScript
Using TypeScript
TypeScript syntax and features introduced by ES2015 and ES2016
Meta-programming with ES2016 decorators
Writing modular code with ES2015
ES2015 module loader
ES2015 and ES2016 recap
Taking advantage of static typing
Further expressiveness with TypeScript decorators
Writing generic code by using type parameters
Writing less verbose code with TypeScript's type inference
Using ambient type definitions
Summary
Chapter 4: Getting Started with Angular Components and Directives
The "Hello world!" application in Angular
Using TypeScript
Playing with Angular and TypeScript
Using Angular directives
Improved semantics of the directives syntax
Defining Angular directives
Creating custom Angular components
Explaining Angular's content projection
Hooking into the component's life cycle
Defining generic views with TemplateRef
Understanding and enhancing the change detection
Summary
Chapter 5: Dependency Injection in Angular
Why do I need DI?
DI in Angular
Configuring an injector
Defining factories for instantiating services
Child injectors and visibility
Summary
Chapter 6: Working with the Angular Router and Forms
Developing the "Coders repository" application
Exploring the Angular router
Using Angular's forms module
Two-way data binding with Angular
Storing the form data
Listing all the stored data
Summary
Chapter 7: Explaining Pipes and Communicating with RESTful Services
Developing model-driven forms in Angular
Exploring the HTTP module of Angular
Defining parameterized views
Defining nested routes
Transforming data with pipes
Summary
Chapter 8: Tooling and Development Experience
Running an application in a Web Worker
Initial load of a SPA
Enhancing our development experience
Angular quick starters
AoT compilation in Angular
Summary

What You Will Learn

  • Understand the changes made from AngularJS with side-by-side code samples to help demystify the Angular learning curve
  • Start working with Angular’s new method of implementing directives
  • Use TypeScript to write modern, powerful Angular applications
  • Dig in to the change detection method, and other architectural changes to make sure you know what’s going on under the hood of Angular
  • Get to work with the new router in Angular
  • Use the new features of Angular, including pipes, and the updated features such as forms, services, and dependency injection
  • Learn about the server-side rendering in Angular to keep your new applications SEO-friendly
  • Enhance your applications using Ahead-of-Time compilation and Web Workers

Authors

Table of Contents

Chapter 1: Get Going with Angular
Angular and semver
The evolution of the Web - time for a new framework
The evolution of ECMAScript
Lessons learned from AngularJS in the wild
Summary
Chapter 2: The Building Blocks of an Angular Application
A conceptual overview of Angular
Changing directives
Getting to know Angular components
Angular modules
Pipes
Improving change detection
Services
The new router
Summary
Chapter 3: TypeScript Crash Course
Introduction to TypeScript
Using TypeScript
TypeScript syntax and features introduced by ES2015 and ES2016
Meta-programming with ES2016 decorators
Writing modular code with ES2015
ES2015 module loader
ES2015 and ES2016 recap
Taking advantage of static typing
Further expressiveness with TypeScript decorators
Writing generic code by using type parameters
Writing less verbose code with TypeScript's type inference
Using ambient type definitions
Summary
Chapter 4: Getting Started with Angular Components and Directives
The "Hello world!" application in Angular
Using TypeScript
Playing with Angular and TypeScript
Using Angular directives
Improved semantics of the directives syntax
Defining Angular directives
Creating custom Angular components
Explaining Angular's content projection
Hooking into the component's life cycle
Defining generic views with TemplateRef
Understanding and enhancing the change detection
Summary
Chapter 5: Dependency Injection in Angular
Why do I need DI?
DI in Angular
Configuring an injector
Defining factories for instantiating services
Child injectors and visibility
Summary
Chapter 6: Working with the Angular Router and Forms
Developing the "Coders repository" application
Exploring the Angular router
Using Angular's forms module
Two-way data binding with Angular
Storing the form data
Listing all the stored data
Summary
Chapter 7: Explaining Pipes and Communicating with RESTful Services
Developing model-driven forms in Angular
Exploring the HTTP module of Angular
Defining parameterized views
Defining nested routes
Transforming data with pipes
Summary
Chapter 8: Tooling and Development Experience
Running an application in a Web Worker
Initial load of a SPA
Enhancing our development experience
Angular quick starters
AoT compilation in Angular
Summary

Book Details

ISBN 139781787125278
Paperback278 pages
Read More

Read More Reviews