Compatibility with angularAMD