Using D3 charts with AngularJS – TechLoft