Angular directive for JSON visualization/edition