Skip to content

Instantly share code, notes, and snippets.

View joshschumacher's full-sized avatar

Josh Schumacher joshschumacher

View GitHub Profile
var appModules = [
'ionic',
'ngCordova'
];
root.Application = angular.module('com.myorg.myapp', appModules)
.run(function($ionicPlatform) {
$ionicPlatform.ready(function() {
// check for the plugin first, to prevent triggering cordova plugin error when you run the application in the browser
if (window.plugins && window.plugins.matPlugin) {