Angular directive for creating an svg flowmap