Chapter 12. New Features of Angular 2

Angular 1 was based on the MVC architecture whereas Angular 2 is based on a components-and-services architecture. Angular 1 and Angular 2 are completely different in terms of architecture and APIs, so previous knowledge of Angular 1 is unlikely to help you much in learning Angular 2. In this chapter, we will learn Angular 2 without comparing it with Angular 1 as doing that will create confusion and is unnecessary. Even if you don't have knowledge about Angular 1, you can continue with this chapter.

We will cover the following topics:

  • Web components
  • The Angular 2 architecture
  • Template language
  • Component inputs and outputs
  • The component life cycle
  • Events
  • Forms
  • Services

And much more...

The Angular 2 architecture

Angular ...

Get JavaScript: Moving to ES2015 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.