Stop wasting your time

wrestling with incomplete and confusing tutorials

  • Online tutorials are inconsistent and often out of date. One tutorial says one thing and another says something completely different.
  • Many tutorials show you the trees but not the forest. Some teach the basics, but why is there nothing that shows how to fit all the pieces together?
  • The docs aren't cohesive and trying to learn a new framework from piecing together API docs can be tough.
  • Googling only takes you so far... There are not many good screencasts or tutorials out there that teach how to maximize the framework.
  • Time is money; don't waste it sifting through blogs.
  • What the heck is a _____? The vocabulary is foreign, how is a directive component different from a bare component? How am I supposed to update my page with one-way data binding?
  • What's with the crazy syntax? Do I have to learn annotations, strong-typing, and a whole new language just to use Angular now?
  • How does it all fit together? Angular 2 has a whole new model of writing apps. How can you know how it all fits together?
  • Still not hitting deadlines? You still have a job to do and stopping to learn Angular 2 seems like a risky use of time.

Angular 2 has a lot of new syntax

Annotations

The @ is an annotation and it comes from TypeScript

Multi-line Strings

Using ` backticks allows for easy inline templates

Brackets for Parameters

Use [] brackets on an attribute to pass parameters to the directive

Class Syntax

TypeScript allows you to define classes using the class syntax

Events

One-way data binding means we fire events instead of modifying data directly

Actions

Our class defines actions that we can use in our view

Components

Components teach your browser new tags

Views

Views can be defined by the template option

Star Syntax

Use the * on an attribute to use a directive on this element

Parenthesis for View Actions

Use () parenthesis to specify action bindings

Strong Typing

TypeScript lets us define collections that contain our custom type Product

Component Definition Class

We define new Components with a class

Ready to master Angular 2?

  • What if you could master the entire framework – with solid foundations – in less time without beating your head against a wall? Imagine how quickly you could work if you knew the best practices and the best tools?
  • Stop wasting your time searching and have everything you need to be productive in one, well-organized place, with complete examples to get your project up without needing to resort to endless hours of research.
  • You will learn what you need to know to work professionally with ng-book: The Complete Book on Angular 2 or get your money back.
Download the First Chapter

Get up and running quickly

The first chapter opens with building your first Angular 2 App. Within the first few minutes, you'll know enough to start writing your Angular 2 app

Comprehensive topics

You'll learn core Angular 2 concepts - from how Angular works under the hood, to rich interactive components, from in-depth testing to real-world applications

Best practices

Learn Angular 2 best practices, such as: testing, code organization, and how to structure your app for performance. We'll walk through practical, common examples of how to implement complete components of your applications

Up to date

The book is constantly updated with the latest tips and tricks of Angular. Don't worry about being out-of-date, this book covers the latest release of Angular 2: angular-2.4.8. You'll get access to all updates free for 12 months.

Book Contents

  • Writing Your First Angular 2 Application 1
  • Binding Data to Components 1.5
  • TypeScript 2
  • Using Annotations and Types 2.5
  • Angular 2 Concepts - How Angular Works 3
  • Components, Controllers, and Views 3.5
  • Using the Built-in Components 4
  • Forms and Validations 5
  • Understanding Observables and RxJS 6
  • Data Architecture with Observables and RxJS 6.5
  • Data Architecture With Redux and Angular 7
  • Intermediate Redux with Angular 8
  • Dependency Injection and Services 9
  • Working with APIs and HTTP 10
  • Routing 11
  • Hybrid Apps: Porting An Angular 1 App to Angular 2 12
  • Writing Advanced Components 13
  • Understanding Lifecycle Hooks 13.5
  • Testing 14
  • Writing Mobile Apps with NativeScript 15
Read the full table of contents

Lots of Sample Apps, Lots of Code

  • When you buy ng-book 2, you're not buying just a book, but dozens of code examples. Every chapter in the book comes with a complete project that uses the concepts in the chapter.

Learn to build a Reddit-like voting app

  • The book comes with sample apps that show you how to create:
  • A component-based Reddit clone
  • A real-time chat app using RxJS Observables
  • A YouTube search-as-you-type app
  • A Spotify search for tracks with playable song preview
  • Plus lots more mini-examples that show you how to write Components, how to use Forms, and how to use APIs
  • The code examples currently have over 5,500+ lines of runnable code (TypeScript, non-comment lines)

Learn to build a chat app - Three top-level components shown here
Download the First Chapter (for free)

What will I learn?

  • Build your first Angular 2 app in minutes
  • How to write components
  • How to build interactive views and powerful templates
  • The new Angular 2 model structure
  • How to trigger actions from user interactions
  • How to bind data to your view
  • Best practices for data-flow in a one-way data-binding world
  • How to talk to backend services and APIs
  • A roadmap to port your Angular 1 app to Angular 2
  • You'll learn how to use the built-in directives and write components of your own
  • You'll know exactly how Angular 2 works, from bootstrapping to change detection
  • What was removed from Angular 1 and what you should use instead
  • Understanding types in TypeScript
  • The power of creating your own types
  • How to use annotations to your advantage
  • Learn the 3 types of Angular 2 directives and when to use them
  • Master creating rich forms with custom inputs and validations
  • Write blazing fast apps with Angular 2 performance optimizations
  • How to master Angular 2 concepts
  • Learn how Angular's router works
  • Learn how to have ng1 and ng2 components in the same app
  • Mastering Promises
  • And much, much more...
Read the full table of contents

Too good to be true?

Sample chapter image

Grab a sample chapter and check it out for yourself. Sign up for our mailing list and get the sample chapters for free! You'll only receive email about the book and updates. We never send spam, ever and it's easy to unsubscribe.

It can take up to an hour to deliver the sample chapter. If you don't receive the sample chapter within the hour, write us and we'll send them to you directly.

Get it now

The book and complete source

  • Professional-grade Angular ebook content
  • Completely DRM-free PDF, mobi, and epub formatted ebook
  • Learn Angular 2 from the inside out
  • Learn the right way to build Angular 2 apps
  • Build advanced Angular 2 apps within minutes
  • Have the complete library available at your fingertips
  • The code for every sample in the book to get you going quickly
  • Price: $59
  • Prerelease Price: $39
Basic
Buying now entitles you to free updates for 12 months!

Book, source code, videos, and sample app

  • Professional-grade Angular ebook content
  • Completely DRM-free PDF, mobi, and epub formatted ebook
  • Learn Angular 2 from the inside out
  • Learn the right way to build Angular 2 apps
  • Build advanced Angular 2 apps within minutes
  • Have the complete library available at your fingertips
  • The code for every sample in the book to get you going quickly
  • The complete code for the sample app
  • 4 hour long beginner Angular 2 screencast
  • Price: $99
  • Prerelease Price: $79
Most popular
Buying now entitles you to free updates for 12 months!

Team license

  • Professional-grade Angular ebook content for your whole team
  • Completely DRM-free PDF, mobi, and epub formatted ebook
  • Your team will be able to build advanced Angular apps within minutes
  • Your team will learn Angular 2 from the inside out
  • Your team will build Angular 2 apps with Best practices from the start
  • Have the complete library available for your team
  • The code for every sample in the book to get you going quickly
  • The complete code for the sample app
  • 4 hour long beginner Angular 2 screencast
  • Team license for up to 10 team members
  • Immediate invoice billing service
  • First Edition Price: $599
  • Prerelease Price: $399
Team & save $200
Buying now entitles you to a discounted price and free updates for 12 months!

Meet the authors

Nate Murray

Nate Murray

Nate is a full-stack developer and writes code for everything from deep-learning image recognition to mobile games for cats. Nate formerly worked at IFTTT and his background is in data mining and scaling web services

Felipe Coury

Felipe Coury

Felipe is the co-founder and CTO of Gistia Labs where he leads an Angular.js and Ruby on Rails culture. He has also worked closely with CTOs on implementing Angular.js strategy for large companies.

Ari Lerner

Ari Lerner

Hi, I'm Ari. I'm the author of ng-book 1 and I've been teaching Angular for a long time. I've been a member of Google's Angular working group and I've spoken at ng-conf, SF Angular, Mountain View AngularJS and more.

Carlos Taborda

Carlos Taborda

Carlos is the co-founder and director of Gistia Labs, a team that specializes in full stack engineering projects as well as training established development teams in Angular and Ruby on Rails.

Contributors

Nic Raboy

Nic Raboy

Nic Raboy is an advocate of modern web and mobile development technologies. He has experience in Java, JavaScript, Golang and a variety of frameworks such as Angular, NativeScript, and Apache Cordova. Nic writes about his development experiences related to making web and mobile development easier to understand. Checkout Nic's blog here.

Burke Holland

Burke Holland

Burke is currently the Director Of Developer Relations for Progress. Burke enjoys JavaScript a lot because it's a giant band aid over his statically typed inadequacies. You can find him on Twitter as @burkeholland.

I'm wondering...

How long is the book?

The current version has 16 chapters totaling 650+ pages, several sample apps totaling over 7,500+ lines of code (TypeScript, non-comment lines)

Is ng-book 2 an upgrade to ng-book 1?

No. ng-book 2 is a completely new book and shares no content or code with ng-book 1. Angular 1 and Angular 2 are two different frameworks and ng-book 1 and ng-book 2 are two different books.

Do I have to know Angular 1?

Nope! We don't assume that you've used Angular 1. This book teaches Angular 2 from the ground up.

Of course, if you've used Angular 1, we'll point out common ideas (because there are many), but ng-book 2 stands on its own

Are there free updates?

Yes! Updates are free for 12-months following purchase.

We've faithfully released over 40 updates to ng-book 2 already

What about Angular 4 and beyond?

The book will be updated to Angular 4. This update will be free if you've purchased within the 12 months of the update's release.

Does the video have captions?

Yes!

The screencast video is has a complete caption track so you can read along as you watch the video.

Is this a physical or digital book?

This is a completely DRM-free ebook formatted as a pdf/mobi/epub (and a zip with tons of example code)

Is there a physical print version of the book?

Yes! You can get it on Amazon as a separate purchase

What if I don't like it?

If you're unhappy with the book or content, just reach out to us and we'll give you a full refund. There's no risk.

How up to date is the book?

The entire book is up to date with the latest release of Angular 2 angular-2.4.8

Our promise to you

We're committed to keeping ng-book 2 the best resource for learning and using Angular 2. We personally respond to requests for content and we regularly release updates.

We're independent authors and we survive by making the highest quality book on Angular 2 as possible.

There's no risk: if you're not satisfied for any reason, send us an email and we'll give you a full refund.

Download the First Chapter (for free)

Contact us

If you have any questions or concerns, feel free to email us at us at fullstack.io.