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? :-)
Merge pull request #3 from stryju/patch-1

move DI refs from linking function