Both factories are wrapped in separate directives and modules which are then injected into my app. However, I can only see the stylings for the logOut modal whose encapsulating directive comes after the login directive. I understand that factories are singletons, so what is the recommended way to create multiple directives w/ multiple config objects?
I have two directives that both encapsulate
btfModals
, each directive has a module like:and
Both factories are wrapped in separate directives and modules which are then injected into my app. However, I can only see the stylings for the
logOut
modal whose encapsulating directive comes after thelogin
directive. I understand that factories are singletons, so what is the recommended way to create multiple directives w/ multiple config objects?Thank you,