angular-ui/ui-router — pull request #70 by lmessinger (2013-04-02 19:14:43+00:00)
Title: Allow element and attr injections

The controller in ui-router is really a 'directive controller' as it is tied with $ViewDirective. In Angular.js this type of controller is injectable with $element and $attr, so i've copied the same to here as well.

I needed it to manipulate the $element (specifically, for animation of the ui-view).