How to set {{platform}} in ionic framework?

I'm using ionic/AngularJS to create a mobile app. I've seen a {{platform}} template attribute on this page:

How can I set this globally when I'm testing using python -mSimpleHTTPServer instead of an emulator?

It's as simple as :

ionic.Platform.platform() // "android"

Seems like the docs are wrong (outdated?).
anyway - the "platform" value is available at


See ionic.js:2085