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.
Comments
I would go with writing directives over using global scope in general, though it's more time consuming to me.
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.