fixed code for $cacheFactory service sample
M3 / $locale service
M3 / using the $timeout service