Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit efb8129

Browse files
jbedardgkalpak
authored andcommitted
refactor($compile): remove unnecessary assignment
Closes #15337
1 parent e9427a8 commit efb8129

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ng/compile.js

-1
Original file line numberDiff line numberDiff line change
@@ -2386,7 +2386,6 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
23862386
}
23872387

23882388
if (!directive.templateUrl && directive.controller) {
2389-
directiveValue = directive.controller;
23902389
controllerDirectives = controllerDirectives || createMap();
23912390
assertNoDuplicate('\'' + directiveName + '\' controller',
23922391
controllerDirectives[directiveName], directive, $compileNode);

0 commit comments

Comments
 (0)