An AngularJS service to detect client browser and version