<!doctype html>
<html ng-app="myApp">
  <head>
    <title>Filtr niestandardowy AngularJS</title>
  </head>
  <body>
    <div ng-controller="myController">
      <h2>Sortowanie i filtrowanie</h2>
      {{phrase | censor:"***"}}<br>
      {{"To jest niedobry, mroczny i ponury tekst." | censor:"radosny"}}
      <p ng-click="filterText()">{{txt}}</p>
    <script src="http://code.angularjs.org/1.2.9/angular.min.js"></script>
    <script src="/js/angular_filter_custom.js"></script>
  </body>
</html>