title: Bootstrap modal alignment of table
body: <p>I have a modal window which has 3 tabs. One one tab i tried to align the button and table on line  with other controls, but it dint work. </p>
  
  <p><strong>HTML:</strong></p>
  
  <pre><code>&lt;tab  ng-controller="elasticController"  heading="Data Source"&gt;
       &lt;div class="row"&gt;
                           &lt;div class="col-lg-6 col-md-6"&gt;
                               &lt;div class="form-group"  &gt;
                                   &lt;label class="control-label col-lg-6 col-md-6"&gt;Data source&lt;/label&gt;
                                      &lt;div class="col-lg-6 col-md-6"&gt;
                                           &lt;select  class="form-control" name="fancySelect" &gt; 
                                      &lt;option value="1"   data-html-text="Elastic search"&gt; Elastic search&lt;/option&gt;             
                                   &lt;/select&gt;
                                      &lt;/div&gt;
                               &lt;/div&gt;
                           &lt;/div&gt;                         
                         &lt;/div&gt;
                         &lt;div class="row"&gt;
                               &lt;div class="col-lg-6 col-md-6"&gt;
                                  &lt;div class="form-group"  &gt;
                                  &lt;label class="control-label col-lg-6 col-md-6"&gt;Enter the URL:&lt;/label&gt;
                                  &lt;div class="col-lg-6 col-md-6"&gt;
                                        &lt;input  class="form-control" /&gt;
                                  &lt;/div&gt;
                                     &lt;/div&gt;
                               &lt;/div&gt;
  
                         &lt;/div&gt;
                          &lt;div  class="row"&gt;
                               &lt;div class="col-lg-6 col-md-6"&gt;
                                  &lt;div class="form-group"  &gt;
                                  &lt;label class="control-label col-lg-6 col-md-6"&gt;Select the index:&lt;/label&gt;
                                  &lt;div class="col-lg-6 col-md-6"&gt;
                                         &lt;!--  &lt;select ng-model="ser.type" ng-options="t.id as t.title for t in chartTypes"&gt;&lt;/select&gt; --&gt;
                                   &lt;select ng-model="selectedIndex"  ng-options="p.index for p in indexes | orderBy: 'index'"  ng-required&gt;
                                   &lt;/select&gt;
                                  &lt;/div&gt;
                               &lt;/div&gt;
                           &lt;/div&gt;
  
                         &lt;/div&gt;
                         &lt;div  class= "row"&gt;                          
                              &lt;div  class="col-lg-6 col-md-6"&gt;
                                   &lt;button   ng-click="searchQuery()"  class="btn btn-default" &gt;Get data&lt;/button&gt; 
                               &lt;/div&gt;
  
                         &lt;/div&gt;
                          &lt;div class="row"&gt;
                               &lt;div class="col-lg-6 col-md-6"&gt;
                                   &lt;table class="table"&gt;
                                                      &lt;thead&gt;
                                                           &lt;tr&gt;
                                                               &lt;th ng-repeat="(header, value) in resultData[0]"&gt;
                                                               {{header}}
                                                              &lt;/th&gt;
                                                          &lt;/tr&gt;
                                                       &lt;/thead&gt;
                                               &lt;tbody&gt;
                                                  &lt;tr ng-repeat="row in resultData"&gt;
                                                      &lt;td ng-repeat="cell in row"&gt;
                                                       {{cell}}
                                                      &lt;/td&gt;
                                                  &lt;/tr&gt;
                                                &lt;/tbody&gt;
                                        &lt;/table&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;              
                   &lt;/tab&gt;
  </code></pre>
  
  <p>Current: <img src="https://i.stack.imgur.com/OWErd.png" alt="enter image description here"></p>
  
  <p>Desired:
  <img src="https://i.stack.imgur.com/7p3Jy.png" alt="enter image description here"></p>