fix $cache.put bug for stable branch angular