Angular sample code