Adding isIOS or isAndroid on rootScope