(function() {

  angular.module('pokedex.filters', [])
    .filter('imageify', function() {
      return function(input) {
        return "img/pokemons/" + input.toLowerCase() + ".jpg";
      };
    });

})();
(function() {

  angular.module('pokedex.filters', [])
    .filter('normalize', function() {
      return function(input) {
        return input
          .replace('♀', 'f')
          .replace('♂', 'm')
          .replace(/\W+/g, '')
          .toLowerCase();
      };
    })
    .filter('imageify', ['$filter', function($filter) {
      return function(input) {
        return "img/pokemons/" + $filter('normalize')(input) + ".jpg";
      };
    }]);

})();
Add filter to normalize images.
Add filter to normalize images.
