<h4 class="bg-primary">Select User</h4>

<form name="userSelectionForm" ng-submit="doNext()" novalidate>
  <div class="form-group">
    <div class="radio" ng-if="(dealerInfo.currentUser.dealer_username).toLowerCase() != (user.email).toLowerCase()"
         ng-repeat="user in users track by $index">
      <label>
        <input type="radio" name="user" ng-model="dealerInfo.selectedUser" ng-value="user" required> {{user.email}}
      </label>
    </div>
  </div>

  <div class="left-and-right">
    <a ui-sref="dealer-account-settings.main" class="btn btn-primary btn-prev"><i class="fa fa-caret-left"></i> Back</a>
    <button class="btn btn-primary" type="submit" ng-disabled="userSelectionForm.$invalid">View</button>
  </div>
</form>