chart ng-repeat working