3 ms·
I would go with writing directives over using global scope in general, though it's more time consuming to me.
by larakerns 12y ago
I would go with writing directives over using global scope in general, though it's more time consuming to me.
- chm 12y agoBut 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.