diff options
Diffstat (limited to 'src/ng/directive/form.js')
| -rw-r--r-- | src/ng/directive/form.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ng/directive/form.js b/src/ng/directive/form.js index b6d3f4be..7b96c936 100644 --- a/src/ng/directive/form.js +++ b/src/ng/directive/form.js @@ -31,7 +31,8 @@ var nullFormCtrl = { * of `FormController`. * */ -FormController.$inject = ['$element', '$attrs']; +//asks for $scope to fool the BC controller module +FormController.$inject = ['$element', '$attrs', '$scope']; function FormController(element, attrs) { var form = this, parentForm = element.parent().controller('form') || nullFormCtrl, |
