Changed domain to heroku
scope.$apply fix
Reverted domain