有没有一种方法可以使用Angular检测浏览器和操作系统版本。默认的window方法已被Angular的window函数覆盖。
window
https://github.com/KoderLabs/ng2-device-detector
通过服务提供以下属性: