making api MVC and adding angular to front end