var app = angular.module('LoginApp',[]);
app.controller('dynamicController', ['$scope', function($scope) {
$scope.role= "Admin";
$scope.auctionNumber = 1;
$scope.itemsArray = [{ letter:"a" , number:1 }];
}]);
To display the model name in HTML, use {{ variable }} and set it to be {{ itemsArray.letter }}_{{ auctionNumber }}. This will result in displaying Admin.