Skip to content

Tag: angularjs-ng-change

Fire “data-ng-change” programatically or another way to change value of input on website using Angular JS

I am writing a userscript and unfortunately the website uses Angular JS which I don’t know. There is code: I want to change the value of that input programatically, like: But it doesn’t work because it doesn’t fire data-ng-change=”$ctrl.updateFormFieldValue()” so the new value is not saved. Please how can I do it? Answer If someone will look for the same