Starting the migration to angularJS