[plotters][static][app] Fix handling of $http promise

The success/error handlers have been deprecated and removed.
This patch updates the code using them.
1 job for cleanup_plotters in 15 minutes and 27 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
passed #208853
docker-build
build_linux_36

00:15:27

66.0%