I have this:
Copy code
I create this controller on an element and then try to call the "returnValue" method in order to get a value like this:
Copy code
I know it fires because I get the alert, but the only thing that is returned is a reference to the controller element object:
Copy code
How do I get the return value?
Copy code
I create this controller on an element and then try to call the "returnValue" method in order to get a value like this:
Copy code
I know it fires because I get the alert, but the only thing that is returned is a reference to the controller element object:
Copy code
How do I get the return value?