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.
baseSvc.js, we have to use
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