angularjs - angular ng-click in button in ie9 -


the ng-click directive in button works in ie9 when developer console opened.

<button class="btn btn-primary" type="button"          data-ng-click="go('/edit')">edit</button> 

this works in other browsers in ie9 doesn't call go function unless open developer console.

do have console.log somewhere in function? @ least older versions of ie have habit of defining console when console open, , without definition you'll reference error, conveniently hidden fact console isn't open.


Comments

Popular posts from this blog

hibernate - How to load global settings frequently used in application in Java -

python 3.x - Mapping specific letters onto a list of words -

objective c - Ownership modifiers with manual reference counting -