0

Is there any way to split a large html file into several files in ionic2?

I tried

<div ng-include src="file1.html"></div>

and

<link rel="import" href="./file1.html">

with no success

Ari
  • 7,251
  • 11
  • 40
  • 70
  • Possible duplicate of [Angular2 dynamic template or ng-include](http://stackoverflow.com/questions/39328215/angular2-dynamic-template-or-ng-include) – n00dl3 Mar 30 '17 at 13:57

1 Answers1

0

Try

<div ng-include="'file1.htm'"></div>
daan.desmedt
  • 3,752
  • 1
  • 19
  • 33