[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)