Hacker News new | ask | show | jobs
by larakerns 4429 days ago
I would go with writing directives over using global scope in general, though it's more time consuming to me.
1 comments

But I need some filters to be "global" and some to be "local". I need to call some in different modules, while some are useful only in one particular module.

I haven't found out how to do this yet. Not fixing it until it breaks, even if that means I'll have to re-write parts of the app.