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.
1 parent 6414e86 commit e45941bCopy full SHA for e45941b
src/directive/model-options/model-options.js
@@ -21,8 +21,8 @@ class NgModelOptionsController {
21
* @param {ng.Scope} $scope
22
*/
23
constructor($attrs, $scope) {
24
- this.$$attrs = $attrs;
25
- this.$$scope = $scope;
+ this._attrs = $attrs;
+ this._scope = $scope;
26
/** @type {NgModelOptionsController?} */
27
this.parentCtrl;
28
}
@@ -32,8 +32,8 @@ class NgModelOptionsController {
32
? this.parentCtrl.$options
33
: defaultModelOptions;
34
35
- const modelOptionsDefinition = this.$$scope.$eval(
36
- this.$$attrs.ngModelOptions,
+ const modelOptionsDefinition = this._scope.$eval(
+ this._attrs.ngModelOptions,
37
);
38
39
this.$options = parentOptions.createChild(modelOptionsDefinition);
0 commit comments