fix(ng-class): array syntax should not insert nulls

Closes #513