Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .controller("RoomListCtrl",
- function($scope, $firebaseArray) {
- // ...
- console.log('antes');
- var randomRoomId = Math.round(Math.random() * 100000000);
- var ref = new Firebase("https://govivant-chat.firebaseio.com/" + randomRoomId);
- }
- )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement