<input name="{{ options.key }}" class="mgz__control-text" type="text" ng-model="model[options.key]" id="{{::id}}"/>
<span><button type="button" class="mgz-btn mgz-btn-save" ng-disabled="!model[options.key] || disabled" ng-click="saveTemplate()">{{ text }}</button></span>