Moved app-code to its own controller. Bind isWaiting to page scope.
Show message box is data is not saved to server.
Remove config section for locationProvider not being used.