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’;



please check this:


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


I’m from Brazil too, :wink:

De nada, é um prazer ajudá-lo.