Famous / famous-angular

Bring structure to your Famo.us apps with the power of AngularJS. Famo.us/Angular integrates seamlessly with existing Angular and Famo.us apps.
https://famo.us/angular
Mozilla Public License 2.0
1.92k stars 275 forks source link

Famous-global.js file is getting deleted when grunt build #359

Open ghost opened 9 years ago

ghost commented 9 years ago

Hi there.

We have already a running project using angularjs-cordova generator. we wanted to implement Famo.us on top of it to get best of the product. we have implemented it using bower install famous-angular --save and bower update. Grunt build is able to take

link rel="stylesheet" href="bower_components/famous-angular/dist/famous-angular.css" src="bower_components/famous-angular/dist/famous-angular.js"

we have to add manually to the index.html script src="bower_components/famous/dist/famous-global.js" for famo to work.

if we do grunt build again, the index.html will be overwritten and we loose script src="bower_components/famous/dist/famous-global.js" .

Please let me know what needs to be done. As a part of the generator, cordova apk file is created. The index file does not have script src="bower_components/famous/dist/famous-global.js" due to which the famo does not work on the mobile deployment.