look ay ng-include. Note: it takes an expression as the value so you can put a variable in there (that references a value a controller - which can dynamically change. Or you can put a string (as below). When you put a string, you end up with the inner quotes, which looks confusing, and is easy to forget!
<body> <div ng-include=" 'template1.html' " ></div> </body> On 4 December 2014 at 06:13, mark goldin <[email protected]> wrote: > Is there an "Angular" way of loading an external html content into another > html page? > I dont mean visible links. Let's say I have a fairly complex screen with > some sections that can be done and tested independently from the main part. > All I want is just to load them into div. > > Thanks for help. > > -- > You received this message because you are subscribed to the Google Groups > "AngularJS" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- Tony Polinelli -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
