Angular linked lists directive