An AngularJS library to control HAL apis