Answer the question
In order to leave comments, you need to log in
How to pass data to popup (Angular)?
Good afternoon!
I am doing a training task for myself, using AngularJS Material in the project .
The question is the following. The page displays 10 blocks with news announcements, how can I send the full news by clicking on the block in popup ?
Answer the question
In order to leave comments, you need to log in
1. don't use regular expressions for HTML. There are a huge number of solutions based on DOM, css selector, xpath
2. Most likely, the regular expression breaks down on this:
<h4 class="textable">
<h1 style="text-align: center;">
...
</h1>
</h4>
As already advised - no regulars.
And from the libraries I will offer https://github.com/Imangazaliev/DiDOM
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question