Added directive for real chart
View got data from controller