0👍
Well you have to create a popup modal that it’s gonna be the base, I don’t have full time to explain it right here but I left you a simple tutorial on YouTube youtube.com/watch?v=aqCMlI6Wq64
Make a ng-controller like:
<div class="chart" ng-controller="histogramController">
<p>Stuff here</p>
</div>
Then the controller can you make:
function histogramController($scope) {
// Chart.js functions on scope
}
Source:stackexchange.com