I don't know why don't work this code : I am using angular 1.x in my project and I want to create a filter, I Know how do it but don't work, not throws any console error, simply that not work.

This is my js code: 

    var myAPP = angular.module("myAPP",[]);
    
    myAPP.filter("miFilter",function(){
        return function(input){
          return input.replace("normal","400x400");
        };
    });

and in my html file use this:

    <img src="{{url | miFilter}}" />
