Simple text entry based on angular JS