Chapter 1
Strategies for Upgrading to Angular 2
Section 3
Migrating an Application to Component Directives
In Angular 1, there are several built-in directives, including ngController and ngInclude, that developers tend to lean on when building applications. - Move the ngInclude directiveto a component directive - Set templateUrl to the template path - Reassign ngController to a directive controller