Don't try to use the config unless it has already been loaded

Fix race condition in angular editor