Make the example more functional with reusable filter functions

The only real change in the reusable filter functions is that they check the parameter before accessing its `length` property. Otherwise it's "just functional sugar" (but the whole point of FP and FRP, right ? :D).

BTW, thanks for the plugin, I'm sure I'll use for my next (really first) Angular project.