Update ngConstant, modularise config, closes item:29