Revision 54602
Added by Sandro La Bruzzo about 5 years ago
service_v10.js | ||
---|---|---|
28 | 28 |
return $http.get('currentStats.json'); |
29 | 29 |
}; |
30 | 30 |
|
31 |
factory.getMainPageStats = function () { |
|
32 |
//$http.defaults.headers.get["Content-Type"] = "application/x-www-form-urlencoded; charset=UTF-8"; |
|
33 |
return $http.get('/api/main_page_stats'); |
|
34 |
}; |
|
35 |
|
|
31 | 36 |
factory.getStats = function () { |
32 | 37 |
//$http.defaults.headers.post["Content-Type"] = "application/x-www-form-urlencoded; charset=UTF-8"; |
33 | 38 |
return $http.get('stats2.json'); |
Also available in: Unified diff
Create dinamically stats on main page