<div ng-app ng-init="usernames = ['Sagar', 'Sunny', 'Varma']"> <ul> <li ng-repeat="username in usernames">{{username}}</li> </ul></div>
Login to post response