supported other input types for ng-model besides 'text'. Fixed scope eval code in ng-model. removed leftover ng-class stuff