diff options
| author | Igor Minar | 2011-01-04 00:46:25 -0800 |
|---|---|---|
| committer | Igor Minar | 2011-01-04 16:40:41 -0800 |
| commit | 3ea5941f0e51c57f55071a85f2033c23c99847c0 (patch) | |
| tree | 74b8b20178e96f13c5f3550740e35dcb68642a8a /src/widgets.js | |
| parent | d0270d92568e1b7c762b42a0ee0712b65d9acc5c (diff) | |
| download | angular.js-3ea5941f0e51c57f55071a85f2033c23c99847c0.tar.bz2 | |
removing support for 'eager-published' services
Diffstat (limited to 'src/widgets.js')
| -rw-r--r-- | src/widgets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets.js b/src/widgets.js index 532627eb..a09ee29d 100644 --- a/src/widgets.js +++ b/src/widgets.js @@ -271,7 +271,7 @@ function valueAccessor(scope, element) { formatterName = element.attr('ng:format') || NOOP, formatter = angularFormatter(formatterName), format, parse, lastError, required, - invalidWidgets = scope.$invalidWidgets || {markValid:noop, markInvalid:noop}; + invalidWidgets = scope.$inject('$invalidWidgets') || {markValid:noop, markInvalid:noop}; if (!validator) throw "Validator named '" + validatorName + "' not found."; if (!formatter) throw "Formatter named '" + formatterName + "' not found."; format = formatter.format; |
