working with angular snapshot version