Remove the selectedRoomId from rootScope and instead store it in recents-service. Add a broadcast to notify listeners (recents-controller) to updates of this. |
||
|---|---|---|
| .. | ||
| room-controller.js | ||
| room-directive.js | ||
| room.html | ||
Remove the selectedRoomId from rootScope and instead store it in recents-service. Add a broadcast to notify listeners (recents-controller) to updates of this. |
||
|---|---|---|
| .. | ||
| room-controller.js | ||
| room-directive.js | ||
| room.html | ||