Closed swimmadude66 closed 8 years ago
Hi @swimmadude66, you're not passing through the data in your HTML. Because of how Angular evals functions you need to pass the parameters you're trying to get to your log function in the HTML, like this:
<select ... change="log(newValue, oldValue)" ..></select>
Assigning a function to change, the function is never called with the arguments promised.
controller.js
If
change="log"
it will never fire. Ifchange="log()"
it fires, but always with empty arguments.