My initial attempt was successful using a button element with the necessary classes and attributes.
<button type="button" class="btn btn-default glyphicon glyphicon-arrow-left"></button>
However, my next endeavor involved incorporating a canvas object, specifically a line chart generated by the chart.js library, which unfortunately did not yield the desired outcome. I utilized d3.js to embed the chart into an svg element. Upon inspection of my angularjs chart.js directive (utilized via the same), it was evident that the directive was not being invoked at all.
The foreignObject housing the chart.js canvas was successfully inserted into the html document, but rendering was unsuccessful.
<foreignObject x="5" y="5">
<canvas id="line" class="chart chart-line" data="data" labels="labels" legend="true" series="series" click="onClick"></canvas>
</foreignObject>
Has anyone encountered a similar issue before?