AngularJS browser detection kit
npm install angular-bowserangular-bowser
====================
This is a simple AngularJS service to provide browser information.
It's heavily based on bowser code.
bower install --save angular-bowser
npm install --save angular-bowser
html
`
Add the angular-bowser module as a dependency to your application module:
`javascript
angular.module('MyApp', ['jlareau.bowser']);
`
Inject the service where you need it. A good place is in the run section of your application.
`javascript
angular.module('MyApp')
.run(['bowser', function(bowser) {
if ( bowser.msie && bowser.version <= 6 ) {
alert(${bowser.name}, Seriously?!);
}
}]);
``