added angularjs to the front end