id = localStorage.getItem('currentUser')
this.http.get('./assets/id/profiles/admin.json')
.subscribe(result => {
this.profile = result.json();
});
Getting id values from local storage with that id, trying to read json. How to pass that id to read that particular json.
this.http.get('./assets/' + id +' /profiles/admin.json')
.subscribe(result => {
this.profile = result.json();
});