ua-device-detector

Parses user-agent to set css classes or directly usable via JS / NodeJS.

angularjs

https://github.com/srfrnk/ua-device-detector