Skip to content
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

How to use forgejs in angularjs? #167

Open
shokri opened this issue Jan 31, 2018 · 2 comments
Open

How to use forgejs in angularjs? #167

shokri opened this issue Jan 31, 2018 · 2 comments
Labels

Comments

@shokri
Copy link

shokri commented Jan 31, 2018

Got error when I try to run this code
angularjs.controller.js
var config = { "story": { "uid": "video-story", "name": "Video Story", "slug": "video-story", "description": "", "default": "scene-0", "scenes": [...] } }; var view = new FORGE.Viewer("myVid", config);
index.html
<div id="myVid"></div>

forgejs

@rroux-gpsw
Copy link
Contributor

Hi shokri!
I never tried angularJS.
Can you try with the non minified build to see where this error come from ?
It sounds like you have a scope error. Angular tells you that FORGE is not defined ?!
Have a nice day!

@rroux-gpsw
Copy link
Contributor

Hi @shokri anything new about this ?
Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants