Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Ryan Hellerud
Ryan Hellerud
3,635 Points

using angular-ui or angular-foundation for reveal modal?

I'm trying to find a semi-simple way to put data from angular controller into a reveal modal. I had attempted this with foundation and found out it probably wouldn't work like that, and was recommended to use angular-foundation.

All I want to do, is have my data show up in a reveal modal when a user clicks the relevant course that will be displayed with ng-repeat. I have a template layout out for that as well if it would be necessary for me to post it but basically just want it to render the class info. I thought this wouldn't be all that hard, and not sure why it wouldnt just work in the foundation reveal modal template. Can anyone have some insight on the inner workings and what would be the best solution.

Finally, if I use angular-foundation http://pineconellc.github.io/angular-foundation/ do I just link the script file in the head for set up? In a little over my head sure, but at least im learning something new.