This is something I have toying with you can look at the test site sorry I don't have a pretty demo. http://sepal.ws/pace/DialogEdit/index.html
On Sunday, January 26, 2014 9:58:48 AM UTC-8, Alon Yehezkel wrote: > > Hi, > Sander, the $modal service get only template or templateUrl and does not > export dynamically build template. > > Robert, As you can see in your example, the $modal service get a templateUrl > option which contains html file with header and footer in that html file, > now how do you make that reusable? > > On Thursday, January 23, 2014 12:50:35 PM UTC+2, Robert Paddock wrote: >> >> >> http://weblogs.asp.net/dwahlin/archive/2013/09/18/building-an-angularjs-modal-service.aspx >> >> On Wednesday, 22 January 2014 11:21:02 UTC, Alon Yehezkel wrote: >>> >>> Hi everybody, >>> I'm using angular ui-bootstrap $modal to show numerous dialogs. I would >>> like to share a header and a footer between them. >>> what is the best practice to to so? >>> the service itself do not export this option. >>> the option I thought of is to use ngInclude but this would create a new >>> scope and I don't want that. >>> >>> Thanks! >>> >> -- 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/groups/opt_out.
