old_contents: <%#
   Copyright 2013-2017 the original author or authors from the JHipster project.
  
   This file is part of the JHipster project, see http://www.jhipster.tech/
   for more information.
  
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
  
        http://www.apache.org/licenses/LICENSE-2.0
  
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
  -%>
  (function() {
      'use strict';
  
      var jhiItemCount = {
          template: '<div class="info" data-translate="global.item-count" ' +
          'translate-value-first="{{(($ctrl.page - 1) * $ctrl.itemsPerPage) == 0 ? 1 : (($ctrl.page - 1) * $ctrl.itemsPerPage + 1)}}" ' +
          'translate-value-second="{{($ctrl.page * $ctrl.itemsPerPage) < $ctrl.queryCount ? ($ctrl.page * $ctrl.itemsPerPage) : $ctrl.queryCount}}" ' +
          'translate-value-total="{{$ctrl.queryCount}}">' +
          'Showing {{(($ctrl.page - 1) * $ctrl.itemsPerPage) == 0 ? 1 : (($ctrl.page - 1) * $ctrl.itemsPerPage + 1)}} - ' +
          '{{($ctrl.page * $ctrl.itemsPerPage) < $ctrl.queryCount ? ($ctrl.page * $ctrl.itemsPerPage) : $ctrl.queryCount}} ' +
          'of {{$ctrl.queryCount}} items.' +
          '</div>',
          bindings: {
              page: '<',
              queryCount: '<total',
              itemsPerPage: '<'
          }
      };
  
      angular
          .module('<%=angularAppName%>')
          .component('jhiItemCount', jhiItemCount);
  })();
  
new_contents: <%#
   Copyright 2013-2017 the original author or authors from the JHipster project.
  
   This file is part of the JHipster project, see http://www.jhipster.tech/
   for more information.
  
   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at
  
        http://www.apache.org/licenses/LICENSE-2.0
  
   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
  -%>
  (function() {
      'use strict';
  
      var jhiItemCount = {
          template: '<div class="info"<% if (enableTranslation) { %> data-translate="global.item-count" ' +
          'translate-value-first="{{(($ctrl.page - 1) * $ctrl.itemsPerPage) === 0 ? 1 : (($ctrl.page - 1) * $ctrl.itemsPerPage + 1)}}" ' +
          'translate-value-second="{{($ctrl.page * $ctrl.itemsPerPage) < $ctrl.queryCount ? ($ctrl.page * $ctrl.itemsPerPage) : $ctrl.queryCount}}" ' +
          'translate-value-total="{{$ctrl.queryCount}}"<% } %>>' +
          'Showing {{(($ctrl.page - 1) * $ctrl.itemsPerPage) == 0 ? 1 : (($ctrl.page - 1) * $ctrl.itemsPerPage + 1)}} - ' +
          '{{($ctrl.page * $ctrl.itemsPerPage) < $ctrl.queryCount ? ($ctrl.page * $ctrl.itemsPerPage) : $ctrl.queryCount}} ' +
          'of {{$ctrl.queryCount}} items.' +
          '</div>',
          bindings: {
              page: '<',
              queryCount: '<total',
              itemsPerPage: '<'
          }
      };
  
      angular
          .module('<%=angularAppName%>')
          .component('jhiItemCount', jhiItemCount);
  })();
  
subject: remove translate attributes when not using i18n