Update popUp.js

TODO: send and receive $scope.message from server