converted front end from jade to angular