An angularjs directive for affixing elements