angular-filters/app.js
// Name of actual created fn is name of reg. filter + Filter !
Name of actual created fn is name of reg. filter + Filter !
Name of actual created fn is name of reg . filter + Filter !
function LovesFilter() {
  return function (input) {
    input = input || "";
    input = input.replace("likes", "loves");
    return input;
  };
}
function LovesFilter ( ) { return function ( input ) { input = input || "" ; input = input . replace ( "likes" , "loves" ) ; return input ; } ; }
Name of actual created fn is name of reg.
Name of actual created fn is name of reg .