Hook up ng-resource to be used for chat rooms.