My data source comes from a service, on a callback. Until the callback it's not available.
TypeError: Cannot read property 'length' of undefined
at Deckgrid.$$onModelChange (http://localhost/assets/angular-deckgrid/angular-deckgrid.js?body=1:153:19)
If I have it as an empty array, $scope.data = [] before the service, it does work. My guess is that the code should also check if there's something in the model before accessing its .length.