Fixed the angular render bug for categories.