angular.module('myApp', ['ionic', 'myApp.services', 'myApp.controllers']) .run(function(DB) { DB.init(); });