Revert "placed angularjs factory for rooms in seperate file."

This reverts commit 97b997ea986f1d48c3408d310a23bd008745e7a0.