Hi I am new to angularjs. how to select a group that will select all element of that group in option selection list.I am using this piece of code. I am not able to select group name.
<select ng-model="data.Id" ng-options="data.Id as data.name group by data.dataGroup for data in dataarray" multiple>
<option value="" disabled selected>Select Data</option>
</select>