Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 3
    IMHO. This is the best approach I still use bower for client-side dependencies. Commented Mar 18, 2017 at 9:21
  • "$("p").click(function(){ $(this).hide(); });" best example of when do not use jQuery in Angular?! Commented Apr 20, 2017 at 8:51
  • 4
    Isn't it easier to setup just using npm? npm install jquery --save, then "scripts":["../node_modules/jquery/dist/jquery.js"], then import $ from 'jquery'; in *.ts files. What is the advantage using bower?
    – cs_pupil
    Commented Aug 28, 2017 at 19:34
  • 1
    @cs_pupil You can use npm too but Bower is designed for managing only front end packages. Have a lookup stackoverflow.com/questions/18641899/… Commented Aug 29, 2017 at 6:10
  • 1
    @AmanDeepSharma, thanks! Oddly enough though, it looks like bower has been deprecated. npm install bower yielded: npm WARN deprecated [email protected]: (stackoverflow.com/a/31219726/3806701)
    – cs_pupil
    Commented Aug 29, 2017 at 17:45