setup jasmine directive