Having the Angular Flowchart Example.
How can I access the diagram variable https://github.com/NorthwoodsSoftware/GoJS/blob/master/samplesangular.html#L22 within the directive to call the makeSvg function.
makeSvg() like in https://github.com/NorthwoodsSoftware/GoJS/blob/master/samples/flowchart.html#L245