Famous/famous-angular

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

Opened this issue · 0 comments

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.