add the function for updating average
read json files by angularjs
add json files
add the first version of the chart