Angular JS Sampling