tarlepp/angular-sailsjs-boilerplate — pull request #40 by caasjj (2014-11-15 20:47:35+00:00)
Title: moves database initialization to a hook to eliminate sails bootstrap war...

Initializing database service directly in `bootstrap.js` often causes sails to issue a warning of slow bootstrap in cases where a database other than `localDiskDb` is used, especially if a large amount of data is being seeded. This PR creates a hook attached to 'hook:orm:loaded', which may be a more natural place to perform this task, and also removes the warning.