jQuery to Angular tie-up