angular app has access to api