C
C
Coder3212017-01-29 04:24:04
Angular
Coder321, 2017-01-29 04:24:04

What is the alternative to ng-include in Angular 2?

I receive page markup from the server how to display it on the page. The first one had the ng-include directive, but what did they replace it with in the second one?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Aksentiev, 2017-01-29
@Sanasol

https://github.com/angular/angular/issues/7596
some options were discussed in the comments.

E
emp1re, 2017-01-29
@emp1re

I think the usual component can be deduced

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question