adds angular and api controller