Angular undefined check on form objects
Removed logging