ps0604
ps0604

Reputation: 1071

Angular ui-router: selectively populating templates in named views

These are the premises I'm trying to implement with ui-router:

I posted my attempt on plunker, any ideas if this is achievable?

UPDATE

I think this plunk explains more clearly what I'm trying to achieve. Click on page11 and then on page21; each will display their template and clear the other. I need both templates to be shown simultaneously.

Upvotes: 1

Views: 110

Answers (1)

ps0604
ps0604

Reputation: 1071

This is how I solved this problem: I created a directive that compiles markup (using $compile) and used two directives in my html page, each with a different markup.

Upvotes: 0

Related Questions