How to discover if I'm in a android or iOS

I need to discover if I’m in a android or iOS platform with angularjs. Some like this:
if(is_android) {
‘show something’;
} else if (is_ios) {
‘show another thing’;
}

http://ionicframework.com/docs/platform-customization/styling-angularjs.html

Hello,
please check this: http://ionicframework.com/docs/api/utility/ionic.Platform/

Thanks man, I’m new student from Brazil. Congratulations!

1 Like

I’m from Brazil too, :wink:

De nada, é um prazer ajudá-lo.