ng-include in Angular 2?

2 views
Skip to first unread message

Tim Consolazio

unread,
Jan 9, 2017, 8:10:26 AM1/9/17
to Angular 2
It's all over the forums; there's no EZ way to do ng-include in Angular 2. Just grabbing an HTML page and dumping it into a DOM element can be quite a procedure now. 

Here's an easy way to do it, article is here:

http://www.tcoz.com/newtcoz/#/errata

If you know of any other way to do this in a more "correct" way that still uses straight HTML files and simple selectors, it'd be great to see it. I've looked at a number of things and nothing really seems to "just do it" like this. 
Reply all
Reply to author
Forward
0 new messages