Utilizing AngularJS in my single-page application, I have a button defined as follows:
<button class="btn btn-success" onclick="doSeekTo({{todo.position}});doPlay();">
When this button is clicked, it triggers the javascript function with the specified parameter enclosed in double curly braces, standard practice in AngularJS.
While this functionality operates smoothly in IE9, the error console shows "Expected identifier, string or number" at the location of the curly braces.
How can I resolve this error? It's quite unsettling for me.