<commit_before><ion-view view-title="Map" hide-nav-bar="true">
  <!-- do you want padding? -->
  <ion-content class="padding" scroll="false" >

  <style>
/*  .slidey {
    transition: 1s all linear;
  }*/
  </style>
    <!-- Search bar -->
    <h5>Search</h5>
    <div class="item item-input">
      <input type="text" ng-model="mappyCtrl.filters.search" placeholder="What are you looking for?">
    </div>
    <!-- Filter dropdown -->
    <h5>Filter by Incidents</h5>
    <div id="optionsContainer">
        <div id="filterContainer">
            <select id="incidentSelector" ng-model="selectedIncidentTypes" ng-options="incident.type for incident in mappyCtrl.data.complaints | unique:'type'"></select>
        </div>
        <div id="resultCountContainer">
            <button style="margin: 5px;" class="button button-small button-clear button-positive" ui-sref="main.list">
              {{ mappyCtrl.data.filteredComplaints.length }} results
            </button>
        </div>
        <!-- <button style="margin: 5px;" class="button button-small" ng-repeat="incident in mappyCtrl.data.complaints | unique:'type'" ng-click="mappyCtrl.toggleCaseTypeInFilter(incident.type)" ng-class="{ 'button-outline button-default' : !mappyCtrl.filters.caseTypes[incident.type], 'button-balanced ' : mappyCtrl.filters.caseTypes[incident.type]}">
          {{ incident.type }}
        </button> -->
    </div>
    <!-- <button class="button button-block button-small button-positive icon ion-ios-flask-outline" ng-click="mappyCtrl.showFilters = !mappyCtrl.showFilters">
    </button>

    <ion-list ng-show="mappyCtrl.showFilters" class="slidey">
       <ion-checkbox ng-repeat="incident in mappyCtrl.data.complaints | unique:'type'" ng-model="mappyCtrl.filters.caseTypes[incident.type]">{{incident.type}}</ion-checkbox>
    </ion-list> -->

    <!-- required scss in _mappy.scss -->
    <ui-gmap-google-map
    center='mappyCtrl.map.center'
    zoom='mappyCtrl.map.zoom'
    draggable='false'
    disableDefaultUI="mappyCtrl.map.disableDefaultUI"
    options="mappyCtrl.map.options"
    data-tap-disabled="true"
    >

      <!-- 311 markers -->
      <ui-gmap-markers
        models="mappyCtrl.data.filteredComplaints"
        coords="'markablePosition'"
        events="mappyCtrl.map.markerEvents"
        options="'options'">
      </ui-gmap-markers>

    </ui-gmap-google-map>



     <div class="card padding" style="margin-bottom: 0px;" ui-sref="main.list-detail({objectId: mappyCtrl.data.selectedComplaint.id})" ng-if="mappyCtrl.data.selectedComplaint">
      <div class="item item-text-wrap item-icon-right">
        <h2>{{mappyCtrl.data.selectedComplaint.title}}</h2>
        <p>{{mappyCtrl.data.selectedComplaint.location}}</p>
        <span class="type type-balanced type-small">Opened: </span>
          <span class="type type-muted type-small">{{mappyCtrl.data.selectedComplaint.open | date:'dd MMM'}}</span>
      </div>
    </div>






  </ion-content>
</ion-view>
<commit_msg>Add dropdown. Not hooked up to model.<commit_after><ion-view view-title="Map" hide-nav-bar="true">
  <!-- do you want padding? -->
  <ion-content class="padding" scroll="false" >

  <style>
/*  .slidey {
    transition: 1s all linear;
  }*/
  </style>
    <!-- Search bar -->
    <h5>Search</h5>
    <div class="item item-input">
      <input type="text" ng-model="mappyCtrl.filters.search" placeholder="What are you looking for?">
    </div>
    <!-- Filter dropdown -->
    <h5>Filter by Incidents</h5>
    <div id="optionsContainer">
        <div id="filterContainer">
            <select id="incidentSelector" ng-model="selectedIncidentTypes" ng-options="incident.type for incident in mappyCtrl.data.complaints | unique:'type'"></select>
        </div>
        <div id="resultCountContainer">
            <button style="margin: 5px;" class="button button-small button-clear button-positive" ui-sref="main.list">
              {{ mappyCtrl.data.filteredComplaints.length }} results
            </button>
        </div>
        <!-- <button style="margin: 5px;" class="button button-small" ng-repeat="incident in mappyCtrl.data.complaints | unique:'type'" ng-click="mappyCtrl.toggleCaseTypeInFilter(incident.type)" ng-class="{ 'button-outline button-default' : !mappyCtrl.filters.caseTypes[incident.type], 'button-balanced ' : mappyCtrl.filters.caseTypes[incident.type]}">
          {{ incident.type }}
        </button> -->
    </div>
    <!-- <button class="button button-block button-small button-positive icon ion-ios-flask-outline" ng-click="mappyCtrl.showFilters = !mappyCtrl.showFilters">
    </button>

    <ion-list ng-show="mappyCtrl.showFilters" class="slidey">
       <ion-checkbox ng-repeat="incident in mappyCtrl.data.complaints | unique:'type'" ng-model="mappyCtrl.filters.caseTypes[incident.type]">{{incident.type}}</ion-checkbox>
    </ion-list> -->

    <!-- required scss in _mappy.scss -->
    <ui-gmap-google-map
    center='mappyCtrl.map.center'
    zoom='mappyCtrl.map.zoom'
    draggable='false'
    disableDefaultUI="mappyCtrl.map.disableDefaultUI"
    options="mappyCtrl.map.options"
    data-tap-disabled="true"
    >

      <!-- 311 markers -->
      <ui-gmap-markers
        doCluster="true"
        models="mappyCtrl.data.filteredComplaints"
        coords="'markablePosition'"
        events="mappyCtrl.map.markerEvents"
        options="'options'">
      </ui-gmap-markers>

    </ui-gmap-google-map>



     <div class="card padding" style="margin-bottom: 0px;" ui-sref="main.list-detail({objectId: mappyCtrl.data.selectedComplaint.id})" ng-if="mappyCtrl.data.selectedComplaint">
      <div class="item item-text-wrap item-icon-right">
        <h2>{{mappyCtrl.data.selectedComplaint.title}}</h2>
        <p>{{mappyCtrl.data.selectedComplaint.location}}</p>
        <span class="type type-balanced type-small">Opened: </span>
          <span class="type type-muted type-small">{{mappyCtrl.data.selectedComplaint.open | date:'dd MMM'}}</span>
      </div>
    </div>






  </ion-content>
</ion-view>

{'fraction_non_alphanumeric': 0.16957316060455074, 'fraction_numerical': 0.004318219564856336, 'mean_word_length': 3.246826516220028, 'pattern_counts': {'":': 0, '<': 111, '<?xml version=': 0, '>': 111, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3377304', 'n_tokens_mistral': 1997, 'n_tokens_neox': 1902, 'n_words': 313}