Transition to AngularJS / TypeScript