move DI refs from linking function

move DI refs from link function to directive declaration.
that separates usage of link function for directive and DI

does that make sense to you? :-)