Adding component config to be able to specify whether a component contains an angular module that should be registered.