forgejs icon indicating copy to clipboard operation
forgejs copied to clipboard

How to use forgejs in angularjs?

Open shokri opened this issue 7 years ago • 2 comments

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

shokri avatar Jan 31 '18 06:01 shokri

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 avatar Feb 01 '18 09:02 rroux-gpsw

Hi @shokri anything new about this ? Thanks !

rroux-gpsw avatar Mar 29 '18 14:03 rroux-gpsw