better error handling when initializing without data
Merge branch 'master' of https://github.com/chinmaymk/angular-charts