Closed
Description
We may need DOM place in some other location in some situations, eg: place <modal>
in root element(body).
position: fixed
is not a perfect solution, when inside parent with z-index, it may be overlap by other elements: http://stackoverflow.com/a/16756277
I made some experiments and it seems impossible to achieve this by custom directive, so i made some modifications in source code and it works as expected:
http://jsfiddle.net/rhyzx/s3L0emxy/
commit is here: rhyzx@8430843
How do you think about this feature? @yyx990803