Complete functionality

done
-------
1. Socket-Angular scope fix
2. angular-D3 chart directive

todo
------
1) have to make the chart responsive
Unit Tests : RepositorySvc
Unit Tests : HomeCtrl
Variable name changes: OrderTableCtrl
Tests: OrderTableCtrl