Added AngularJs routing for register and chatroom pages.