Skip to content

Instantly share code, notes, and snippets.

@kennethkoontz
Created April 12, 2014 19:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kennethkoontz/10553508 to your computer and use it in GitHub Desktop.
Save kennethkoontz/10553508 to your computer and use it in GitHub Desktop.
// Ionic Starter App
// angular.module is a global place for creating, registering and retrieving Angular modules
// 'starter' is the name of this angular module example (also set in a <body> attribute in index.html)
// the 2nd parameter is an array of 'requires'
angular.module('starter', ['ionic'])
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
if(window.StatusBar) {
StatusBar.styleDefault();
}
console.log(device.platform);
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment