[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 16 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Build
passed build_linux_36 #208873
docker-build

00:15:16

66.0%