SyntaxFix
Write A Post
Hire A Developer
Questions
You should check for !test, here is a fiddle showing that.
!test
<span ng-if="!test">null</span>