would be better do put this dependency on directives module