even more flexible ng-model attribute parsing