Angular helpers for working with AppCache