Fixed a small typo in directives.js

Corrected a small typo in comment