Made module configurable via app.constant, clarified a few comments