function initDatabase() {
        $log.debug('Attempt to connect to and seed the database');  
        connect().then(function() {
        });        
      }
/**
      * Connects to and seeds the database with some dummy data if no data exists.
      * @private
      */
Connects to and seeds the database with some dummy data if no data exists.
@private
Connects to and seeds the database with some dummy data if no data exists . @private
function initDatabase() {
        $log.debug('Attempt to connect to and seed the database');  
        connect().then(function() {
        });        
      }
function initDatabase ( ) { $log . debug ( 'Attempt to connect to and seed the database' ) ; connect ( ) . then ( function ( ) { } ) ; }
Connects to and seeds the database with some dummy data if no data exists.
Connects to and seeds the database with some dummy data if no data exists .