Angular Onclick Call Function From Another Python Interview Question