This alert('s'); does not appear
How to dynamically load html in this way and hand it over to the controller for control?
大家讲道理2017-05-15 17:00:22
1. Will this code report an error?
2. Why do you need to start angular in the instruction, and your instruction does not specify restrict? 3. To dynamically load HTML, you need to determine that the HTML needs to be compiled before it can be bound to Angular. Take a look at $compile and $sec