# Setup three.js + ar.js with latest angular

**URL:** <https://discourse.threejs.org/t/setup-three-js-ar-js-with-latest-angular/38477>\
**Category:** Questions\
**Tags:** ar\
**Created:** [May 24, 2022, 10:41am UTC](https://discourse.threejs.org/t/setup-three-js-ar-js-with-latest-angular/38477 "2022-05-24T10:41:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![naonao\_naonvl](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/naonao_naonvl/32/20011_2.png) [@naonao\_naonvl](https://discourse.threejs.org/u/naonao_naonvl)\
**Post date:** [May 24, 2022, 10:41am UTC](https://discourse.threejs.org/t/setup-three-js-ar-js-with-latest-angular/38477/1 "2022-05-24T10:41:36Z")

</div>

Hi, i’m trying to use AR.js on my angular app, and i can’t make it working.

I import `ar-threex.js` to my index.html as type module, and it says that `THREE` is undefined.

Can someone help me on this?
