added ngForceController.cls, with minor modifications