i guess here it can be deleted (also below, instead of using config via define it should use config via angular DI