I think you could set this as `table.setNewItemVisibility(false)` and it would call the function in the Nutupane service without having to attach the function to the controllers $scope