Accessing angular through jquery event handler