angular expression working inside a script tag

后端 未结 2 1658
余生分开走
余生分开走 2021-01-28 10:01

How do I get an angular expression working inside a script tag... I am pretty new to this and need help? Here is an example of my java script code:

    

        
2条回答
  •  误落风尘
    2021-01-28 11:00

    Here is an example how you can use your template:

    or use it with a button:

    
    

    The expression in the template then works as is usual.
    Here is an example.

提交回复
热议问题