app.filter('dashcase', function () {

  return function (input) {

    input = input.replace(/\s+/g, '-')
      .toLowerCase()
      .replace('ä', 'ae')
      .replace('ö', 'oe')
      .replace('ü', 'ue')
      .replace('ß', 'ss')
      .replace(/[^a-z0-9-]/g, '');

    return input;
  };
});

app.filter('dashcase', function () {

  return function (input) {

    return input.toLowerCase()
      .replace(/\s+/g, '-')
      .replace(/ä/g, 'ae')
      .replace(/ö/g, 'oe')
      .replace(/ü/g, 'ue')
      .replace(/\u00df/g, 'ss')
      .replace(/[^a-z0-9-]/g, '');
  };
});

Fix bug with German umlauts in dashcase filter
Fix bug with German umlauts in dashcase filter
