Replaced $ with angular.element

Was throwing errors on my project (angular 1.3.3) so I switched over to Angular's built-in jQuery wrapper [angular.element](https://docs.angularjs.org/api/ng/function/angular.element)