Skip to content

Commit ef1a9d2

Browse files
committed
chore(ngModelOptions): remove reference to angular.copy
Replaced a reference to `angular.copy` with just `copy`
1 parent 9c9c6b3 commit ef1a9d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/directive/ngModel.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ var ngModelOptionsDirective = function() {
12151215
restrict: 'A',
12161216
controller: ['$scope', '$attrs', function($scope, $attrs) {
12171217
var that = this;
1218-
this.$options = angular.copy($scope.$eval($attrs.ngModelOptions));
1218+
this.$options = copy($scope.$eval($attrs.ngModelOptions));
12191219
// Allow adding/overriding bound events
12201220
if (this.$options.updateOn !== undefined) {
12211221
this.$options.updateOnDefault = false;

0 commit comments

Comments
 (0)