pass some config to angular