how to do jquery function in angular 7 with element ref code example Example: declare * angular jquery declare var $:any;