V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
77yf77yf77yf
V2EX  ›  编程

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

  •  
  •   77yf77yf77yf · May 24, 2022 · 1702 views
    This topic created in 1436 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   ·   2642 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 39ms · UTC 11:27 · PVG 19:27 · LAX 04:27 · JFK 07:27
    ♥ Do have faith in what you're doing.