When running a function that adds a new item to an array:
ng-repeat="x in accounts | searchFilter:searchString | enabledFilter:isEnabled | orderBy: ['-favourite','account'] as results"
In your function, change the code to this:
if (responce !== undefined) $scope.accounts.push(responce);
This will prevent undefined values from being added to the array which should fix the error you were getting with the filter.