Replacing jQuery with pure Angular