Skip to content

Instantly share code, notes, and snippets.

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) {