search

Home  >  Q&A  >  body text

angular.js - How does angular achieve the following layout..

As shown in the figure: adding content and editing use the same html,

But how do tab1 and tab2 below form tabs? tab2 needs to load other html pages. It only loads when clicked.

How to implement it? Can it be a code architecture skeleton? About loading different html on tabs

迷茫迷茫2840 days ago916

reply all(3)I'll reply

  • PHP中文网

    PHP中文网2017-05-15 17:04:20

    Define different routes, and then implement lazy loading based on the routes

    reply
    0
  • 天蓬老师

    天蓬老师2017-05-15 17:04:20

    Nested routing can be implemented.

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-15 17:04:20

    Use ui.router and ocLazyLoad

    reply
    0
  • Cancelreply