Fixed reference to this object
Merge pull request #17 from vxtals/master

Fixed reference to "this" in directive