title: Which Angular 2 aspects should I keep in mind while creating an Angular 1 application?
body: <p>I will soon have to rewrite a relatively big/complex web application in Angular 1.x.  I still have to learn Angular 1.x.  I know Angular 2.x will be entirely incompatible with 1.x, but is there anything I can do to prepare for a rewrite in Angular 2.x?</p>
  
  <p>For example:</p>
  
  <ul>
  <li><p>Code stucture: can I separate code that will have to be thrown away from code that might be reusable?  The current web application doesn't have a REST API so I assume at least the REST API I will write will be reusable for the 2.x version.  But I'm concerned about the client side code here.</p></li>
  <li><p>Language choice: most likely I will be asked to use pure JS (the version consumed directly by the browser), but would it be wise to use Typescript instead to write the Angular 1.x app, since that's what Angular 2.x itself is written in?</p></li>
  <li><p>Anything else?</p></li>
  </ul>