Both these functions live in $scope.gridApi.saveState. One works, the other returns one of two errors (gridApi is undefined or cannot find property saveState of undefined) at first I was looking into this issue as a $scope.gridApi problem, but then I realized it makes no sense that save works and restore is throwing the error it is throwing.
Both these functions live in $scope.gridApi.saveState. One works, the other returns one of two errors (gridApi is undefined or cannot find property saveState of undefined) at first I was looking into this issue as a $scope.gridApi problem, but then I realized it makes no sense that save works and restore is throwing the error it is throwing.