I have been working on angularjs for past couple of weeks and I am sort of unable to understand how do I make my custom directive, my custom filter work with each other while adding a ajax request inside filter (not sure if adding a ajax request inside filter is a good idea).I have been working on angularjs for past coupl