I'm using the following library:

* <https://github.com/izupet/angular2-counto>

I'm getting an error when I pass a dynamic value.

So in my component `app.component.html`:

If I use interpolation:

```
<div counto [step]="30" [countTo]="'{{value}}'" [countFrom]="0 [duration]="4" (countoChange)="counto = $event" (countoEnd)="onCountoEnd()">{{counto | currency:'EUR':true:'1.2-2'}}</div>

```

I get an error related with the double braces syntax:

```
[countTo]="'{{value}}'"

```

Otherwise, without them it works:

```
 [countTo]="10"

```

---

Here for [countTo] attribute passing the value from component.

For app.component.ts

```
export class AppComponent {

  value=10;

}

```