Menu icon Foundation
Multiple ui-views on a single page

I have a page that lists events. I have 2 options on the page. You can "add a new event" or you can "view one of the listed events".

I have 2 templates that load into each panel:

1. evens.add
2. event.details

How do I get one panel to display the "add" template and the other panel to display the "details" template.

ui-view

I have a page that lists events. I have 2 options on the page. You can "add a new event" or you can "view one of the listed events".

I have 2 templates that load into each panel:

1. evens.add
2. event.details

How do I get one panel to display the "add" template and the other panel to display the "details" template.

Rafi Benkual over 2 years ago

That sounds like a cool project! Is it an event planning app for admins or will it be client facing?

You could have two separate panels, on for each button position in the same place. Another way is to conditionally load a partial into the panel based on which button is clicked. Either button triggers the panel.

Taylor Shaw 4 months ago

The answers shared here gave me a better idea regarding multiple UI-views on a single page. I have been wondering about the same for quite a while now. Thanks for sharing the question here. Do share more such relevant questions. seo training in kochi

ritariya about 2 months ago

What do you actually mean in your post? I could not understand any thing from your blog. It appears to be null. Try to add some photos and content to the post. Add the contents in a much more descriptive manner. You should provide the information in a step by step manner. Eagerly waiting for your updated posts. www.amsterdamtoursnow.com