Fixed bug with Safari and ng-click containing ng-click