Call .factory "function" from a Cordova login

Hey everyone,

Can anyone help with this? - I want to call a .factory “function” from my Cordova Plugin - is that possible?

can’t find anything about it on the web.