Identify platform during config stage


#1

Is there a way for me identify current platform(iOS or Android) during config stage?
I want to do
var core = angular.module(“app.core”);
and then in config…
core.config(…); i need a platform.

Thank you