title: When creating a new room and do $location.path('/' + roomNumber); ,how can I create a new route whenever user create a new room?
body: <p>When creating a new room and do $location.path('/' + roomNumber); </p>
  
  <p>is it needed to create a new route manually?</p>
  
  <p>I want to develop some chat app.</p>
  
  <p>What I wonder most is that "when an user create new room, and do </p>
  
  <p>$location.path('/' + roomNumber); how can I create a new route whenever user create a new room?"</p>