angular-chart.js
function convertData(options, configuration) {
      // TODO support different data formats
      if (angular.isArray(options.data)) {
        configuration.data.json = options.data;
      }
    }
function convertData(options, configuration) {
      // TODO support different data formats
      if (angular.isArray(options.data)) {
        configuration.data.json = options.data;
      }
    }
function convertData ( options , configuration ) { // TODO support different data formats if ( angular . isArray ( options . data ) ) { configuration . data . json = options . data ; } }
//////////
//////////