-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
populate popup content using angularjs? #3
Comments
Hi Phillip, You can put the content into an external html file, and fetch it into DOM by using here is a simple demo: As you can see in that demo, although DOM and popup have same html contents, they actually in different scopes |
Hi Mark, Thank you for the example. I did spend this evening with it trying to get it to work. I am going to further read up on angular scopes before I spend more time on it. My ng-include works well, but the dialog content (while rendering the template) appears to be using a different scope from the ng-include, and I wanted both scopes to be the same. I will report back later when I have it working. Thanks again.
} |
When using |
Close this issue since no further feedback |
Hi,
Looking at using your library (thanks!), and I wanted to share what I how I wanted to use it since it doesn't appear to support using it this way.
I would like to populate the popup content using a div from my html document . The contents of the div would actually be coming from a controller/scope in angularjs.
i.e. how can I display "popupcontent" in the popup?
Thanks again,
Phillip
The text was updated successfully, but these errors were encountered: