now the input box in questions.html updates json array of objects in controller also