Usage To use in your angular app use require('mns-ass-auth')(angular); where angular is the reference to angular instance