angularjs directive to bring a html node to the front