Angular / Accordion Scope
I have an accordion with an input. I have named the ng-model for the input to "firstname"
I'm just trying to now get the value of what the user will put within the input box using the defined scope. For testing, I am just trying to throw a JS Alert with my ng-click event on the "Save Settings" button.
The alert does come up, but its just blank. If I move the input outside of the accordion all works as intended. Its my understanding that the accordion has its own "scope" but being completely new to all of this, I guess I'm not understanding how to get the value?
A simple snippet of code would be of great assistance for me.