I am messing with an external Angular app that I do not control. The app has several input fields and I want to fill them in programatically
document.querySelector('input[name=userEmail]').value='hello@email.com';
The issue is that upon submission, Angular believes the inputs are empty, so I get a client-side validation error.
How can I programmatically change a field of an Angular app from outside the app?