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.