Create popup windows solution

42 views
Skip to first unread message

mark goldin

unread,
Sep 16, 2015, 3:22:53 PM9/16/15
to AngularJS
I want to create a generic solution that would open popup windows for me. I wanted it to be totally generic in terms of providing a template and a controller on the go.
Is that something like this even possible?

Thanks

Sander Elias

unread,
Sep 17, 2015, 12:04:02 AM9/17/15
to AngularJS
Hi Mark,

Sure, it is. Actually quite easy.
let reference = window.open('urlWithParameters')

the url leverages the router to show just what you need. 

Regards
Sander


mark goldin

unread,
Sep 17, 2015, 3:55:14 AM9/17/15
to AngularJS
But that will open a new browser window. What I want is a popup over currently shown template.

--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/F-KvTFipKes/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Stuart

unread,
Sep 18, 2015, 12:59:14 PM9/18/15
to AngularJS

mark goldin

unread,
Sep 20, 2015, 11:15:03 AM9/20/15
to AngularJS
Yes, that looks very promising. Any chance to make it draggable and resizable?

--
Reply all
Reply to author
Forward
0 new messages