Is there a way to use filter inside a ng-if statement ?
for example:
&
Yes that works. Here's a plunkr: http://plnkr.co/edit/vpCzutMnEFlTWC9gceU3?p=preview
angular.module('plunker').filter('two', function() { return function (input) { return 2; } });
Equivalent of your code:
Hello
So your problem must be elsewhere.