added angular factory example