refactor login form + implement route controllerAs + upgraded to angular 1.2.12
we should not have JS files in the repo