<form class="form-setup" ng-submit="submit(settings)">
  <h2 class="form-setup-heading">Setup</h2>
  <label for="name" class="sr-only">Store name</label>
  <input type="text" class="form-control" ng-model="settings.store_name" name="name" placeholder="Store name" required autofocus>
  <button class="btn btn-lg btn-primary btn-block" type="submit">Done</button>
</form>

<form name="form" class="form-setup" ng-submit="submit(settings)">
  <h2 class="form-setup-heading">Setup</h2>
  <label for="name" class="sr-only">Store name</label>
  <input type="text" class="form-control" ng-model="settings.store_name" name="name" placeholder="Store name" required autofocus>
  <button class="btn btn-lg btn-primary btn-block" type="submit" ng-disabled="form.$invalid">Done</button>
</form>

Disable done setup button if name is not filled
Disable done setup button if name is not filled
