0๐
<div class="md-padding" flex layout-sm="column" ng-controller="DashboardCtrl">
<md-card class="text-center">
<md-card-content>
<canvas id="bar" class="chart chart-bar" chart-data="data" chart-labels="labels" chart-series="series"></canvas>
</md-card-content>
</md-card>
</div>
You need to move ng-controller
to another element. Both the controller and the chartBar directive try to register a new isolated scope as the error message says
Source:stackexchange.com