Get data from a ionc 2 form to the ts file

hey guys,

I want to retrieve the value that type in my input form in ionic 2 app and use it in the typescript file to do some rule on it how i can get this value :confused:

Thank you in advance

checkout angular 2 docmentation about forms --> there are template-driven and model driven forms.