Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I thought about this, but as I made a AJAX call that get a JSON lists of 'min','value','max'. This need to parse specifically the value to introduce this deffered setting.
    – mpromonet
    Commented Aug 9, 2016 at 18:57
  • @mpromonet How does that change things? `http.get('/foo').subscribe((res) => { this.min = res.min; this max = res.max; setTimeout(() => this.value = res.value); })
    – Jack Guy
    Commented Aug 9, 2016 at 19:17
  • I tried to use http.get('/controls').subscribe(function(data) { this.controlList = data.json(); } and an *ngFor="let control of controlList" to iterate on the array of controls. Your solution needs extra code to store the http answer.
    – mpromonet
    Commented Aug 9, 2016 at 20:05