added use of jquery instead of depending on jquery loaded before angular.