older version working version of ng-grid, memory leak fix, cleanup & stuff