Move markerElt from partial to directive