update samples to use angular modules