It is not taking app web url. May be you have missed the last part of my article.
For SharePoint Hosted App, _spPageContextInfo.siteAbsoluteUrl will give you the host web url.
Check the following part again.
In the baseSvc.js, we have to use _spPageContextInfo.siteAbsoluteUrl
instead of _spPageContextInfo.webAbsoluteUrl for baseUrl.
PS: In my sample code there is a working solution. My app is using host web's list. So you should not face any issue if you are following my sample code properly.
To your Last update
You have posted the screenshot with the value of _spPageContextInfo.siteAbsoluteUrl. Yes it is pointing to the host web url. Just try to operate CRUD.
App web I mean the value of _spPageContextInfo.webAbsoluteUrl should be different. According to your screenshot, it should be
https://site-guid.sharepoint.com/sites/test1/{appName}