javascript - angular How to load different html to switch views without the server environment?
漂亮男人
漂亮男人 2017-05-15 17:14:21
0
2
904

How to implement page nesting in the local IDE without configuring the server

<p ng-app="" ng-controller="studentController">
  <p ng-include="'main.html'"></p>
  <p ng-include="'subjects.html'"></p>
</p>

ng-includeIt seems that the server must be configured to execute. How can it be executed without the server?

漂亮男人
漂亮男人

reply all(2)
滿天的星座

You can’t do this without service. You should write html and use ng-show to control display and hiding

过去多啦不再A梦

http://stackoverflow.com/a/16...

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template