chore: move getBlockElements to Angular.js
chore($compile): remove special case for ngIf and ngRepeat