`scope.errorMessages` isn't defined yet here, so I get a lot of these when I configure a nonexistent server:

    Cannot call method 'push' of undefined

I'm also wondering, if this is going to be the same scope as the other messages, won't metrics-loading errors immediately be cleared again if upon page load, first the metrics are fetched and then the graph is refreshed?