Reputation: 379
When I write native HTML file, I can include this script that include uids object
<script src="https://rawgit.com/cornerstonejs/cornerstoneWADOImageLoader/master/examples/dicomfile/uids.js"></script>
Then I can use this uids referenced from script, like in this line
uids[value];
but how can I use this script in Angular? I put the script tag in index.html, then when I try to use uids
in app.component.ts, it doesn't recognize it; saying Cannot find name 'uids'.ts
any idea?
Upvotes: 0
Views: 554