text: 'use strict';
  
  /* Filters */
  
  angular.module('myApp.avis')
      .filter('enphatize', function(){
      return function(text, searchKey){
          if(!text){
              return "";
          }
          if(!searchKey)
              return text;
          return text;
          //bypasso, se attivato imposta i termini di ricerca tutti in maiuscolo
          //var regEx = new RegExp(searchKey, "ig");
          //return text.replace(regEx, searchKey.toUpperCase());
      }
  })
      .filter('startFrom', function() {
      return function(input, start) {
          if (!input || !input.length) { return; }
          start = +start; //parse to int
          return input.slice(start);
      }
  });
  