angular sample code