A graphic representation of an HAL resource using D3 and angularjs