Pritam Banerjee Pritam Banerjee - 19 days ago 5
Javascript Question

What are the advantages of using bower over minified javascript files?

I know what bower does.

But wanted to see if there is any real advantage of using bower files in a

AngularJS
app instead of just having the minified javascript file?

Answer

Those libs are not really your project's source code. They are dependencies. To keep your source code clean, it's better to declare your dependencies in your package.json file if you use npm or in your bower config file if you use bower.

When others download the project, they do not need to download the deps.

Using bower or npm can also help you upgrade your deps conveniently.