i\'m trying to make my two elements toggle, so if one element is clicked it will remove all references of my-class and apply it to its self. Any ideas?
I only change/remove the class:
function removeClass() { var element = angular.element('#nameInput'); element.removeClass('nameClass'); };