reload table only when ng-table scope has data (wait for promise to resolve)

http://stackoverflow.com/questions/21746205/angularjs-ng-table-cannot-set-property-data-of-null