How To Call Angular Function From Javascript