fix($compile) empty href should pass sanitation check

The htmlAnchorDirective sets an empty href attribute on <a> tags.
This should pass sanitation check in $compile.

Closes #2219