Destroy chart when scope gets destroyed