Personally I would prefer:

```javascript
                SystemErrata.apply({uuid: $scope.$stateParams.systemId, errata_ids: errataIds}, function(task) {
                    $scope.errataTable.selectAll(false);
                    $scope.openEventInfo(task);
                });
```

Either way you need the space between () and {