Closed anuja-joshi closed 8 years ago
Agree.. It would be better if we change the Angular and Angular router load from bower packages
@shidhincr @anuja-joshi
I am working on it. Will rebase and push the changes once you accept the pull request for issue #12
Waiting for you to accept issue #12 as that includes changes for ngRoute.
@anuja-joshi @sahilbhatia I'll accept the PR now. The only problem is that, the changes for removing the sensor
got removed when I merged the changes. So you might need to add that change again in your next PR.
Thanks @shidhincr :smile:
@sahilbhatia will you be adding bower_components folder to git repo?
Yes @anuja-joshi , I am planning to push it to git. I know it will increase the repo size but I see the following advantages of adding it to git:
bower install
to generate the dependencies)@anuja-joshi @shidhincr What are your thougts on this?
@sahilbhatia I wouldn't rather do that. Because:
@sahilbhatia I agree with approach suggested by @shidhincr ,
You can specify bower
as dependency in package.json
and add bower install
in postinstall
section.
You can refer this.
Fair enough, will not push bower_compnents to git. Instead, I will add bower as dependency to package.json as suggested by @anuja-joshi above.
I recommend using bower for client side asset management as it makes dependency management easier. Also, it's the convention.