Process user input within Angular