I am having an issue with my kendo grid. I am trying to pass two parameters from the client side using an anchor tag and href, but I keep getting a syntax error. Can someone help me figure out the correct way to pass variables using href?
Here is my config.js code:
toolbar: [{template: '<a class="btn btn-default btn-sm pull-right"
href="app/challenge/rest/exportChallengeGridDataToExcel?key={{$rootScope.id}}
&challengeType={{$rootScope.challengeType}}">Export to Excel</a>'}]