refactor(controllers): define the controllers using angular.module()

Side effect:
- extract the Room Factory