feature : two types of charts are created
removed angular resource dep