Visual javascript object inspector and editor as a Angularjs directive