Client: fix for including angularjs-toaster.

Also fixed REST API paths.