Fixed DI of $provide to config