We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
new
1 parent a80d944 commit 630b80fCopy full SHA for 630b80f
src/ng/controller.js
@@ -91,7 +91,7 @@ function $ControllerProvider() {
91
if (isString(expression)) {
92
match = expression.match(CNTRL_REG);
93
if (!match) {
94
- throw new $controllerMinErr('ctrlfmt',
+ throw $controllerMinErr('ctrlfmt',
95
"Badly formed controller string '{0}'. " +
96
"Must match `__name__ as __id__` or `__name__`.", expression);
97
}
0 commit comments