converted to angular and nvcharts