 	# ## Implements hook `augmentDirective`
 	registrar.registerHook 'augmentDirective', (directive, path) -> [
 	
-		'$cacheFactory', '$compile', '$http', '$interpolate', '$q', '$rootScope'
-		($cacheFactory, $compile, $http, $interpolate, $q, $rootScope) ->
+		'$cacheFactory', '$compile', '$http', '$injector', '$interpolate', '$q', '$rootScope'
+		($cacheFactory, $compile, $http, $injector, $interpolate, $q, $rootScope) ->
 			
 			# Ensure ID is a candidate.
 			directive.candidateKeys ?= []

						continue if candidateHooksInvoked[hook]
						candidateHooksInvoked[hook] = true
						for f in pkgman.invokeFlat hook
							f topLevelArgs... 
					
				applySkin = (skinKey) ->
					currentSkinKey = skinKey

			# Proxy link function to add our own directive retrieval and
			# compilation step.
			link = directive.link
			directive.link = (scope, element, attr, controller, transclude) ->
				
				candidateHooksInvoked = {}
			
