TODO: angular service (phidget)