Angular POJO viewer/editor directive