removed debug chunk in the mbinput template.
clean up control validation by patching up model handling in Angular.