Added ngSubmit handler to demo form