fix(dependencies): handle the injection of dependencies

An incorrect instantiation of injected dependencies turned any injected dependency into
the $timeout function. This especially caused an issue when injecting $location.
The correct behavior is to instantiate whatever dependency is injected.

#13