Skip to content
This repository was archived by the owner on Feb 17, 2024. It is now read-only.

Lightweight Angular.js wrapper for User-Agent String Parser

Notifications You must be signed in to change notification settings

ng-engineer/angular-ua-parser

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

angular-ua-parser

You can download angular-ua-parser by:

<script src="https://raw.github.com/faisalman/ua-parser-js/master/src/ua-parser.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.2.0/angular.js"></script>
<script src="app/bower_components/angular-ua-parser/angular-ua-parser.js"></script>

<script>
  angular.module('YOUR_APP', [
    'ngUAParser',
    'controllers'
  ]);

  angular.module('controllers', [])
    .controller('MainCtrl', function($scope, UAParser) {
      $scope.getUA = function() {
        UAParser.getUA();
      };
    });
</script>

About

Lightweight Angular.js wrapper for User-Agent String Parser

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published