switched jquery to angular