window change event listener now handled by angular