stefan-b314/angular-device

A service that can be used to detect a specific device.

★ 0Forks 0JavaScriptGitHub ↗Compare

README

Bower version Build Status Coverage Status
Hire SliceMeNice

angular-device

A service that can be used to detect a specific device.

How to install

bower install angular-device --save

How to use

Reference the module in your app.

(function() {

  angular
    .module( 'someApp', [
      'angular.device'
    ] );

})();

Inject the Device service where you need it and access one of the following properties:

  • Device.isAndroid
  • Device.isIphone
  • Device.isIpad
  • Device.isIpod
  • Device.isIos

Release History

1.0.0

  • First stable release of angular-device.

Contributors

stefan-b314

Issues