Added angular model directive to bind form data to the scope model