Creating a live multiplayer


Is it possible to create a live multiplayer using ionic?
By a live multiplayer I mean that I have 2 inputs fields and a result field.

The result field will show NaN until the user enters valid numbers in both of the fields.
The result will be updated live whenever the input fields are updated.