You could use ngChange to watch for user changes. Per the documentation
it states ngChange will "Evaluate given expression when user changes the
input. The expression is not evaluated when the value change is coming from
I am curious why you're mixing a REST API and a WebSocket API. Why not
do it all through WebSockets? It's lighter weight and it seems like it
would be less confusing to not mix protocols.