It's better than stuffing the condition in the view:
```html
<div ng-if="item && item.type === 'proposal' && screwThis()">
```