Fix use of jquery in angular