added angular dependancies
cleaned out example code