aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ng/controller.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/controller.js b/src/ng/controller.js
index cfd730e4..5c19cf88 100644
--- a/src/ng/controller.js
+++ b/src/ng/controller.js
@@ -12,7 +12,7 @@
*/
function $ControllerProvider() {
var controllers = {},
- CNTRL_REG = /^(\w+)(\s+as\s+(\w+))?$/;
+ CNTRL_REG = /^(\S+)(\s+as\s+(\w+))?$/;
/**