77yf77yf77yf
V2EX  ›  编程

angularjs 如何获取编译前的 html 模板

  •  
  •   77yf77yf77yf · May 24, 2022 · 1886 views
    This topic created in 1509 days ago, the information mentioned may be changed or developed.

    接上一个主题 https://v2ex.com/t/855038 现在有个想法,就是先将前一个 controller 的$scope 存下来,然后获取未编译的 html 模板,切回来之后编译,再将$scope 放回 controller ,现在有几个问题,就是如何动态获取未编译的模板,又如何将$scope 放回 controller

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 03:49 · PVG 11:49 · LAX 20:49 · JFK 23:49
    ♥ Do have faith in what you're doing.