use $window.navigator