Reputation: 202
I couldn't find anything about this on Google. Can somebody tell me what ng-model="$$value$$"
means?
Upvotes: 1
Views: 114
Reputation: 5435
the $$ are angulars private identifier and should not be accessed
https://docs.angularjs.org/tutorial/step_05
i can only assume $$value$$ refers to a user created variable cause i have never seen that variable in a scope definition before, the usual are
$$childHead:
$$childTail:
$$listeners: Object
$$nextSibling: Child
$$prevSibling:
$$watchers: Array[]
Upvotes: 1
Reputation: 8346
Probably I think that's interpolation, wherein you can configure the interpolation markup. Defaults to {{ and }}. However I'm surprised to see this on ng-model
.
angular.module('myApp',[]).config(function($interpolateProvider) {
$interpolateProvider.startSymbol('//');
$interpolateProvider.endSymbol('//');
});
Upvotes: 1