How to call the function in chrome extension to using angular 2?

I using the login function in my chrome extension.I am trying to call the function when form submit.But the function not called.

This is my HTML code.


and my ts code is

    alert("form submitted");

I refered the following link angular 2 chrome extension