removed lodash dep
Added jasmine tests for directive