anchor.diff:            ng-md-icon(icon='arrow_back')
           h3(flex='10')
             | Back
  -        md-input-container(md-theme='input', flex)
  +        md-input-container(md-theme='input', flex="90")
             label  
  -          input(ng-model='word', ng-keyup="autoComplete(word)", placeholder='search indexes')
  -        md-button(aria-label='Search', ng-click='showSearch = !showSearch; search(word); data.selectedIndex = 1')
  +          input(ng-model='word', ng-keyup="autoComplete(word)", placeholder='search indexes', required)
  +        md-input-container(md-theme-input, flex="10")
  +          md-select(ng-model='selected', multiple, required)
  +            md-select-header
  +              label Files
  +              md-option(ng-repeat="doc in currentDocuments",value='{{doc}}') {{doc}}
  +        md-button(aria-label='Search', ng-click='search(word, selected); data.selectedIndex = 1')
             ng-md-icon(icon='search')
           md-button(aria-label='Open Settings', ng-click='toggleLeft()')
             ng-md-icon(icon='more_vert')
  
positive.code:         .inset(hide-sm='')
          ng-switch.tabpanel-container(on='data.selectedIndex')
            #tab1-content(role='tabpanel', aria-labelledby='tab1', ng-switch-when='0', md-swipe-left='next()', md-swipe-right='previous()', layout='row', layout-align='center center')
              md-card(flex-gt-sm='90', flex-gt-md='80', ng-if="title")
                md-card-content
                  .wrap#data
                    h2(style='text-align: center; text-transform: Capitalize') Index:  {{title}}
  
negative.code:                 | SELECT FILES 
              p#upload-done(style="display: none; color: green; text-align: center") upload complete
              p#upload-failed(style="display: none; color: red; text-align: center") upload failed. file exists already or invalid file.
              p#cheating(style="display: none; text-align: center; color: #3004e0") why do you want to cheat?
              md-list#selected-files
              input#upload-input.ng-hide(type="file", ,="", accept=".json", name="uploads[]", multiple="multiple" onchange="angular.element(this).scope().fileSelect()", ngf-pattern='application/json')
              md-progress-linear#progress(ng-show="isLoading", md-mode="indeterminate")
          md-dialog-actions(layout="row")
            md-button(ng-click="closeDialog()")
              | CLOSE THIS
            span(flex)
            md-button#upload.md-primary(md-no-ink, ng-click="upload(); data.selectedIndex = 0", style="margin-right:20px;", ng-disabled="!canUpload")
              | UPLOAD JSON FILE(S)
  