The problem using your idea is that you can only open one dialog. I want it to be possible to open as many dialogs as I want to ... http://jqueryui.com/dialog It should be possible to create many dialogs like the one in the previous link and the content should be added dynamically ...
Am Donnerstag, 17. Juli 2014 18:28:35 UTC+2 schrieb Eric Eslinger: > > Check out the github repo for ui-bootstrap. There's a bunch of pretty > clever stuff in there: > > https://github.com/angular-ui/bootstrap > > in particular, the modal service does something similar to what you're > talking about. > > e > > > On Thu, Jul 17, 2014 at 9:25 AM, Raj <[email protected] <javascript:> > > wrote: > >> Hey guys, >> >> I've got an idea and I don't know how to realize it. >> I want to create a simple application and as a UI I want to use a simple >> dialog based UI. >> So every functionality of my app should be done in a new dialog. >> >> To realize this I created a new factory as a "WindowManager" ... In an >> array are stored all created dialogs with their recent state (open, >> minimized) >> The WindowManager should have the fuctions "createWindow", >> "minimizeWindow" and "destroyWindow" to handle the dialogs ... >> >> But now I do not know how to proceed ... createWindow(title) has to load >> the template file and compile it and append it into the DOM ... >> I thought about loading the template via $http and then using $compile to >> compile the string and put the result into the DOM ... But I don't have any >> idea >> how to get the title into the template ... Any ideas? Hope u guys can >> help me out ... Maybe I think way too difficult ... >> >> Greetz >> Raj >> >> -- >> 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] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> Visit this group at http://groups.google.com/group/angular. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.
