# Uppy generate two areas

**URL:** https://community.transloadit.com/t/uppy-generate-two-areas/14775
**Category:** Uppy
**Created:** [November 7, 2018, 11:34pm UTC](https://community.transloadit.com/t/uppy-generate-two-areas/14775 "2018-11-07T23:34:42Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![JuniorEC](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@JuniorEC](https://community.transloadit.com/u/JuniorEC)
#### Post date: [November 7, 2018, 11:34pm UTC](https://community.transloadit.com/t/uppy-generate-two-areas/14775/1 "2018-11-07T23:34:42Z")

</div>

Hello, I’m trying to do an integration using Uppy and Angular 6, I’m following this stack:

> **[angular-uppy - StackBlitz](https://stackblitz.com/edit/angular-uppy?file=app%252Fapp.component.ts)**
>
> Starter project for Angular apps that exports to the Angular CLI

But am I realizing that my application is not responding the way I would like it? any indication about this problem ???

 ![Uppy%20erro](https://canada1.discourse-cdn.com/flex032/uploads/transloadit/original/1X/f2acb75f3c08f78006fe2c7ad5e6b8f5abc36897.jpeg)

My codes:

```
ngAfterViewInit() {
const instance3 = Uppy({ autoProceed: false,
restrictions: {
maxFileSize: 1000000,
maxNumberOfFiles: 3,
minNumberOfFiles: 2,
allowedFileTypes: ['image/ *', 'video/* ']
}})
.use(Dashboard, {
target: '.instance3',
trigger: '.UppyModalOpenerBtn',
replaceTargetContent: true,
inline: true,
})
.use(Tus, { endpoint: 'https://master.tus.io/files/' })
.run();

instance3.on('complete', (data) => console.log(data));

}

```

my html

`<div class="row"> <br> <div class="instance3"></div> </div>`

---

<div class="post-metadata">

### Author: ![ajkachnic](https://yyz2.discourse-cdn.com/flex032/user_avatar/community.transloadit.com/ajkachnic/32/260_2.png) [@ajkachnic](https://community.transloadit.com/u/ajkachnic)
#### Post date: [July 26, 2020, 6:56pm UTC](https://community.transloadit.com/t/uppy-generate-two-areas/14775/2 "2020-07-26T18:56:08Z")

</div>

Seeing that this is an older question, the issue might be resolved by now. If it isn’t I’ll try to help

Looking at the template that you’ve sent, that works perfectly fine. I also tested with the code you sent and it was completely fine (minus some errors with restrictions but that’s not the topic at hand.

If you are still experiencing this issue, let me know  
- Andrew
