I am trying to pass a string to a function through ng click, here's an example
HTML
<a class="btn"> ng-click="test(STRING_TO_PASS)"</a>
Controller
$scope.test = function(stringOne, stringTwo){
valueOne = test(STRING_TO_PASS);
}
Edit -
Turns out I was thinking about this the wrong way... not really sure why I asked it, sorry guys!
$scope.test = function(STRING_TO_PASS), what kind of behaviour / logic are you looking for?