refactor: update to use the new di API

- Switched to new di API throughout.
- Updated tests to use DynamicInjector.
- Added ControllerRegistry and AngularModule.controller. Updated ng-controller.