Im working with mean.io framework which builds some little helper around the mean stack, to make things faster. If you aggregate an assets, it helps a lot to know that you can easily set things into the correct order with the option weight. The default weight is 0 when you dont set this option: mean.io framework I18n.aggregateAsset('js', 'lib/angular-translate/angular-translate.js',{absolute:true, weight:100 });I18n.aggregateAsset('js', 'lib/angular-translate-storage-local/angular-translate-storage-local.js',{absolute:true, weight:101});I18n.aggregateAsset('js', 'lib/angular-translate-storage-cookie/angular-translate-storage-cookie.js',{absolute:true, weight:102});
»Wer die Freiheit aufgibt, um Sicherheit zu gewinnen, wird am Ende beides verlieren.« Benjamin Franklin (17.01.1706 – 17.04.1790) US-Staatsmann, Ökonom und Naturforscher
Kommentare
Muster AG (bitte anpassen!)
Musterstrasse 123 - 12345 Musterstadt
Tel.: +49 000 / 000-0 - Fax: +49 000 / 000-0000
URL: http://www.xxxxxxxxxxx.zzz - Email: xxx@yyyyyy.zzz
404 Seite