Uses api/angular to fetch data

Makes it better to maintain.