<form name="gridConfigEditor">

   <h4>{{model.name}}</h4>
   <p>Settings will only save if the entered json configuration is valid</p>
   <textarea name="configSource"
      validate-on="'blur'"
      rows="20" class="umb-editor umb-textarea"
      umb-raw-model="model.config"></textarea>

   <div class="alert alert-error" ng-show="gridConfigEditor.$invalid === true">
      This configuration is not valid json, and will not be saved.
   </div>

</form>
