Updated AngularJS woring now with AddClass instead of document.getElementById