Книга: Angular 2 Cookbook
Назад: Customer support
Дальше: Componentizing directives using controllerAs encapsulation

Chapter 1. Strategies for Upgrading to Angular 2

This chapter will cover the following recipes:

  • Componentizing directives using the controllerAs encapsulation
  • Migrating an application to component directives
  • Implementing a basic component in AngularJS 1.5
  • Normalizing service types
  • Connecting Angular 1 and Angular 2 with UpgradeModule
  • Downgrading Angular 2 components to Angular 1 directives with downgradeComponent
  • Downgrading Angular 2 providers to Angular 1 services with downgradeInjectable

Introduction

The introduction of Angular 2 into the Angular ecosystem will surely be interpreted and handled differently for all developers. Some will stick to their existing Angular 1 codebases, some will start brand new Angular 2 codebases, and some will do a gradual or partial transition.

It is recommended that you become familiar with the behavior of Angular 2 components before you dive into these recipes. This will help you frame mental models as you adapt your existing applications to be more compliant with the Angular 2 style.

Назад: Customer support
Дальше: Componentizing directives using controllerAs encapsulation

thank you
Flame
cant read the code since it is all on a single line. Also this comments section is russian
Rakuneque
DATA COLLECTION AND ANALYSIS Two reviewers extracted data and assessed methodological quality independently lasix torsemide conversion Many others were in that space already