an angular directive for componentjs to return the relative mouseposition from the parent element