refactor operation filter to directive, but don't know why directive not working on ng-repeat