zurb / foundation-apps

The first front-end framework created for developing fully responsive web apps.
http://foundation.zurb.com/apps
MIT License
1.58k stars 216 forks source link

Allow modals to receive a controller, resolvers and a few other options. #689

Open lunks opened 9 years ago

lunks commented 9 years ago

This follows pretty much what angular-ui-bootstrap does for attaching controllers and resolve things around.

I've changed the way we fetch templates to use $templateRequest and I'm exposing modalInstance to the controller so we can close it from there if we want to.

zurbchris commented 8 years ago

Can you clean this up and only submit changes to relevant individual files? We'll handle creating the /dist files.

gruberb commented 8 years ago

What's the status on this?

lunks commented 8 years ago

I left the previous company I was using foundation-apps and forgot about this. I'll do what @zurbchris asked so we can move forward.

soumak77 commented 8 years ago

Feel free to submit this PR against the new fork