#1162| Fixing Jasmine for directives