Fixed NPE in ng-grid setDraggables() function, by adding check for grid.$root.