In my View HTML, I have something like this:
<button type="button" class="btn"><i class="glyphicon glyphicon-plus-sign"
ng-click="itemForm('New')"></i></button>
When I click on the button, the controller function is called when running
in Chrome and Safari, but nothing happens when I do it on Firefox, and also
in IE on a Windows PC
But changing the code to put the ng-click on the <button> instead of the
<i> fixes it and it now works in all the browsers. Is this a bug?
<button type="button" class="btn" ng-click="itemForm('New')"><i
class="glyphicon glyphicon-plus-sign"></i></button>
Pierre
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.