angular.js - angular1.* How to use variables and methods in controller in strings
阿神2017-05-15 17:13:28
0
2
573
There is a method in the instruction. The string variable in the method needs to use the method in the controller. Is there any way to make the string variable access the scope of the controller?
This already has a solution:
stackoverflow
Change your pop to use $templateCache to load templates