Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm looking to use a CSS framework like Foundation for my site but I really like the way AngularJS adds to the UX on forms, so I'd like to use AngularJS only in certain sections of the site.

I've read that Foundation doesn't play nice with AngularJS so I'm looking into Bootstrap with Angular-UI.

Is it possible to run jQuery alongside AngularJS if the two don't interact and control separate elements on the page?

share|improve this question
2  
Required reading if you're getting started with Angular: stackoverflow.com/questions/14994391/… –  Dave Swersky Dec 2 '13 at 21:27
    
JQuery works the same with or without AngularJS. It is usually just unnecessary with the built in power that is provided with Angular. But yes, you can use JQuery and it works just fine. –  Zack Argyle Dec 2 '13 at 21:32
    
@ZackArgyle yeah but there are so many more plugins written or jQuery is the reason –  Dex Dec 2 '13 at 22:27
2  
@Dex can use foundation, jQuery plugins etc in angular. What you have to do though is think angular first. If you think jQuery first you make app far more complex than needed and run into all sorts of issues. Initializing any plugins should almost always be done from within a directive. The main problems arise trying to use frameworks that self initialize widgest from data attributes. Don't consider self initalizing them on page load, use their js plugin calls to do it –  charlietfl Dec 2 '13 at 22:41
    
as side note...once you start working with angular will realize how much easier many tasks are than strictly using jQuery. Also won't need jQuery very much –  charlietfl Dec 2 '13 at 22:49

1 Answer 1

up vote 1 down vote accepted

Everyone just left comments so I'll close this out.

The answer is Yes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.