Angular has simplified passing parameters to HTTP requests. In the next code snippet, note that we pass a value to sort parameter in the HTTP GET call:
http.get('http://www.programmerguide.net/api/articles`, { params: { sort: 'ascending' } });
Angular has simplified passing parameters to HTTP requests. In the next code snippet, note that we pass a value to sort parameter in the HTTP GET call:
http.get('http://www.programmerguide.net/api/articles`, { params: { sort: 'ascending' } });
3.147.65.65