Within my code, I am utilizing an ng-repeat to generate three labels and textboxes dynamically.
<ul class="modusScriptingHiddenList">
<li ng-repeat="fld in allFields">
<label class="control-label">{{fld.Name}}</label>
<div ng-if="fld.IsSelect == true">
<select name="{{fld.Name}}">
<option ng-repeat="params in fld.Results" value="{{ params.Key }}" name="{{params.Value}}">{{ params.Value }}</option>
</select>
</div>
<div ng-if="fld.IsSelect == false">
<input type="text" name="{{fld.Name}}" />
</div>
</li>
</ul>
I am looking for a way to hide both the label and textbox if a field is named 'Field1'. How can I achieve this functionality using angularjs?