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].
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.

Reply via email to