CodeByZach / pace

Automatically add a progress bar to your site.
https://codebyzach.github.io/pace/
MIT License
15.68k stars 1.9k forks source link

Angular2 #341

Open igordeoliveirasa opened 8 years ago

igordeoliveirasa commented 8 years ago

How to make it work using Angular2 and http.get ?

igordeoliveirasa commented 8 years ago

When I call it:

this.http.get("http://api-domain.com/api/v1/states").subscribe(items => { console.log("STATES", items); });

Pace is now shown.

simonstewart commented 7 years ago

@igordeoliveirasa did you figure this out? Having the same issue.