Code in this post can be obsolete, however, principles and theory may still apply.
You know, I'm not very big fan of factory functions, nevertheless, I'm aware of the fact that they may be necessary in some situations. Here is the file pattern that works (briefly tested).
Keep each factory function in a separate file name of which should be Namespace.Factory.functionName.js



3 comments
Comments are closed on archived posts.