correctly filtering notes
Processing integrated into a directive, but setup function not quite working yet