sample ng snippet added