Replace jQuery with AngularJS