Update line chart ng js