start migrating to Angular.JS front-end