refact(homepage.js): move filter function inside controller
fix(homepage.js): fix annotations compilation

Closes #101
Closes #100