Answer the question
In order to leave comments, you need to log in
How to insert large html code in one line?
Hello! There is a huge piece of html / angular code and stuffing it onto the page is somehow stupid. The question arose whether it was somehow possible to insert it on the page in one small line. The type in the template will be <div id="myblock"></div>
, and when generated, the expanded code will be in this place already in the browser. Someone may say: "What's the point?" or "It was necessary in Angular to do less code in the html part", but so far I have not reached a clean and compact code.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question