Add '$window' dependency to service