Equivalent of controller in Angular 2
11,888
Angular2 is built from the ground up. Your best solution is to use Angular2 "Components".
Read more about Components at https://angular.io/api/core/Component
Comments
-
Vladimir Melekh almost 2 years
I'm trying to update existing angular 1 application to angular 2. I'm confused, there is nothing about controllers. What is the easiest way to migrate controllers to Angular 2?