angular-ui/ui-router — pull request #921 by christopherthielen (2014-03-02 18:46:08+00:00)
Title: Fix for #774: made uiView link function manipulate the el passed into it...

The element from compile step was being used during link function. However, the element had been removed from dom and replaced by a parent directive, so all link operations were occuring against a detached dom node. All tests pass.