Can anyone guide me on how to determine the number of radio buttons by name in AngularJS using a directive?
<label ng-repeat="elements in [1,2,3,4,5,6,7]">
<input type="radio" name="phone" ng-model="phone" value="example">
</label>
<!--Directive for 'phone' has 7 radio buttons-->
<label ng-repeat="elements in [1,2,3,4,5,6,7,8,9]">
<input type="radio" name="OS" ng-model="OS" value="example">
</label>
<!--Directive for 'OS' contains 9 radio buttons-->