```
$scope.hasResults = list.length > 0;
```