Move jobs ajax to angular.js service.