Primus provider for Angular.
bower install angular-primus
$filteredOn takes as filter either :
an object, whom keys will be deep-matched for correspondance with the 1st param of received data, using lodash matches(...). Example of a deep matching :primus
a function, taking the received data as arguments and returning true/false = match/don't match
$filteredOn will call the listener in Angular context, in an optimized way via $evalAsync. So if you have several listeners on the same event, they will all get executed in the same $digest phase.
$filteredOn will not trigger any apply if the received data doesn't match the given filter. This is desirable if your Angular app is heavy.