This document discusses using TypeScript with Angular to prepare code for migration to Angular 2. It recommends using TypeScript for its static typing and compile-time type checking. It provides steps for modifying an existing Angular project to use TypeScript and approximate Angular 2 components to ease the migration. Key aspects include refactoring data flows, replacing ng-include and ng-controller with component directives, and wrapping markup in component directives.