Small custom module for creating an angular constant  "config" based on JSON in modules