[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-14 Thread Martin Kuhn
Hi Sander, what you did is GREAT. Thank you very much. I tried it out and it worked for me also in the production build with AOT. (maybe because all I need is the usage in a div with innerHtml) Regards Martin Am Montag, 13. März 2017 17:27:46 UTC+1 schrieb Sander Elias: > > Hi Martin, > > Here

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-13 Thread Sander Elias
Hi Martin, Here is your plunk, but then in working condition . However, this is only a partial solution, as this stops working when enableProdMode() is turned on. Sorry, I didn't have had the time yet to sort this out. (Organising ng-nl

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-13 Thread Martin Kuhn
Anything new on this topic? TIA Am Samstag, 11. März 2017 11:12:19 UTC+1 schrieb Sander Elias: > > Oh, it is possible, when I'm back in my office I will finish up a > directive that takes care off this. -- You received this message because you are subscribed to the Google Groups "Angular and A

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-11 Thread Martin Kuhn
That would be really great Am Samstag, 11. März 2017 11:12:19 UTC+1 schrieb Sander Elias: > > Oh, it is possible, when I'm back in my office I will finish up a > directive that takes care off this. -- You received this message because you are subscribed to the Google Groups "Angular and Angula

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-11 Thread Sander Elias
Oh, it is possible, when I'm back in my office I will finish up a directive that takes care off this. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-10 Thread Martin Kuhn
Do you mean that it is not possible what I want? TIA Am Freitag, 10. März 2017 09:06:07 UTC+1 schrieb Sander Elias: > > Update, > > I can confirm the reloading indeed. not only with dynamic HTML, but also > with just static anchors. > > -- You received this message because you are subscribed t

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-10 Thread Sander Elias
Update, I can confirm the reloading indeed. not only with dynamic HTML, but also with just static anchors. -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, se

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-09 Thread Sander Elias
Hi Martin, Hmm, I should have noticed you were talking about an Angular app instead of AngularJS. I'm not so sure there... Let me check out your plunk, check some docs/source, and come back to you. Regards Sander -- You received this message because you are subscribed to the Google Groups "

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-09 Thread Martin Kuhn
Hi Sander, thank you for responding. I did a little plunkr to demonstrate the behaviour -> https://plnkr.co/edit/elLlqKbBsDRgTqcb8OnA?p=preview Here I have 2 components -> routing via [routerLink] works fine. But when I try to specify the link in html which is shown via [innerHtml] it does not

[AngularJS] Re: Angular2+ Routing with PathLocationStrategy used in HTML for content management

2017-03-09 Thread Sander Elias
Hi Martin, If your links look indeed like that, it should not reload, but indeed use the route. IIRC, tags don't need to be compiled/processed to work with the router. Regards Sander -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussi