Controller Equivalent in Angular 2

I am trying to upgrade an existing angular 1 application to angular 2. I am confused, there is nothing in the controllers. Easiest way to port controllers to angular 2?

+4
source share
1 answer

Angular2 is built from scratch. It is best to use Angular2 Components.

More on components at http://learnangular2.com/components

+4
source

Source: https://habr.com/ru/post/1657419/


All Articles