anchor.diff:                  | 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-if="isLoading === true", md-mode="indeterminate")
  +            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;")
  +          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)
  
positive.code:                     thead
                        tr
                          td.marker Words
                          td.marker(ng-repeat="item in headers") Doc_{{item}}
                      tr(ng-repeat="(key, value) in words")
                        td.marker {{key}}
                        td.marker(ng-repeat="item in headers")
                          span(ng-repeat="index in value")
                            span(ng-show="item == index", style="color: #3004e0; font-weight: bold") ✔
            #tab2-content(role='tabpanel', aria-labelledby='tab2', ng-switch-when='1', md-swipe-left='next()', md-swipe-right='previous()', layout='row', layout-align='center center')
              md-card(flex-gt-sm='90', flex-gt-md='80')
                md-card-content
                  h2(style='text-align: center; text-transform: Capitalize') Search Results
                  md-divider
  
negative.code:           ng-md-icon(icon='arrow_back')
          h3(flex='10')
            | Back
          md-input-container(md-theme='input', flex="90")
            label  
            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')
  