whitespace
remove dependency on $route for showEditor
unused imports
driver.get() instead of driver.refresh() in tests

Something changed recently, maybe with a new FF version, and the way
the WebDriver implements refresh() breaks angular's routing and view
code. The result is lots of tracebacks and digest iteration exceeded
messages and a broken application.
Stay DRY and avoid unnecessary scope attributes

https://en.wikipedia.org/wiki/Don%27t_repeat_yourself