We have an array named flowersArray as $scope.flowersArray = ["Rose", "Sun Flower", "Merry Gold", "Lily", "Bluebell", "Bergamot", "Bellflower", "Begonia", "Aster"]
and with the help of ng-repeat directive we bind this array to the span element which display the list of the flower names given in array. The output will be as: Sun Flower Merry Gold Lily Bluebell Bergamot Bellflower Begonia Aster