function extraction in MilkDetailCtrl.js.
Merge branch 'master' of https://github.com/rogeronline/KidsCare