' <div class="control-group">'+
' <label class="control-label" for="'+m+'">'+attrs.label+'</label>'+
' <div class="controls">'+
-' <input type="'+my_type+'" id="'+m+'" ng-model="'+m+'" placeholder="'+attrs.placeholder+'"'
+' <input type="'+my_type+'" id="'+m+'" ng-model="'+m+'"';
;
+ if ( attrs.placeholder ) html += ' placeholder="' + attrs.placeholder + '"';
if ( attrs.ngRequired ) html += ' ng-required="' + attrs.ngRequired + '"';
html += '>'+
' </div>'+