Convert most usage of jQuery to Angularjs

Fun!