An Angular way to handle offline data.