I have been researching how to accomplish this task, but so far I have had no success. As someone who is not very experienced with web development, I wonder if the solution is so basic that no one even bothers to ask about it :(
Let's say we have an HTML text input field paired with a label, like so:
<label for = "stuff">Stuff</label>
<input type = "text" name = "stuffz" id="stuff" value = "hello!">
Now imagine that the value of the text input field changes. Is there a way to use AngularJS to change the style of the label (for instance, turning it green) when this event occurs? I have explored using ng-change and ng-class, but I lack the knowledge on how to effectively implement them in this context.
Any assistance would be greatly appreciated!