took out window dependency in .config

got an angular error, so took it out