An angular directive that creates links between nodes