fix(directive): ensure directive's text will be parsed at least once

This fixes an issue with AJS 1.3.2+

Solves #822
Solves #831