Hi there,
I've encountered a problem with some code I wrote, and I'm hoping someone can help me figure out what's going on.
This particular snippet of code is supposed to run when the menu buttons are clicked.
$scope.show = function($index){
console.log($index);
};
However, when I check the console log, it's always returning 'undefined'.
If anyone has any insights or suggestions, I would really appreciate the help.
You can view the JS bin for reference: https://jsbin.com/keteji/edit?html,js,console,output
Any assistance you can provide would be greatly valued.
Thank you in advance!