Essential Angular
Essential Angular
Minimum price
Suggested price
Essential Angular

This book is 60% complete

Last updated on 2017-01-27

About the Book

IMPORTANT: You can find the new version of the book here: Buy it via gumroad.

About the Authors

Victor Savkin
Victor Savkin

Victor Savkin is an Angular core contributor, and co-founder of, providing Angular consulting to enterprise teams. Victor was previously on the Angular core team at Google, and built the dependency injection, change detection, forms, and router modules. Victor lives in Toronto, Ontario, enjoys playing around with eclectic programming tech, and has a particular interest in fonts and keyboard layouts.

Table of Contents

  • Introduction
  • Example
  • Chapter 1: Compilation
    • JIT and AOT
    • Why would I want to do it?
    • How is it possible?
    • Trade-offs
    • Let’s Recap
  • Chapter 2: NgModules
    • Declarations, Imports, and Exports
    • Bootstrap and Entry Components
    • Providers
    • Injecting NgModules and Module Initialization
    • Bootstrap
    • Lazy Loading
    • Let’s Recap
  • Chapter 3: Components and Directives
    • Input and Output Properties
    • Template
    • Lifecycle
    • Providers
    • Host Element
    • Queries
    • Let’s Recap
    • What About Directives?
  • Chapter 4: Dependency Injection
    • Registering Providers
    • Injector Tree
    • Resolution
    • Lazy Loading
    • Getting Injector
    • Visualizing Injector Tree
    • Advanced Topics
    • Let’s Recap
  • Chapter 5: Change Detection
    • Two Phases
    • Why?
    • How Does Angular Enforce It?
    • Content and View Children
    • ChangeDetectionStrategy.OnPush
    • Let’s Recap
  • Chapter 6: Testing
    • Isolated Tests
    • Shallow Testing
    • Integration Testing
    • Protractor Tests
    • Let’s Recap

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub