OpenTable interview question

Angular, build a directive