="updateApi(api)"
                    >

                </div>

                <!-- TYPE: FILE -->
                <div ng-switch-when="file">
                    <input type="file"
                           ngf-select ng-model="data.value" name="data.value"
                    />
                </div>

                <!-- DEFAULT -->
                <div ng-switch-default>
                    <input type="{{value.type}}" ng-model="value.value" class="form-control">

                </div>

           