@for (let item of items; index as i; trackBy: trackByFn) { @if ( areaId && canTweet ) { } } @if ( areaId && canTweet ) { }