var myApp = angular.module('LoginApp',[]);
myApp.controller('dynamic', ['$scope', function($scope) {
$scope.a_1= "Admin";
$scope.auction_no = 1;
$scope.item = [{ A:"a" , B:1 }];
}]);
I have to give model name in HTML in {{ x }} , x should be {{item.A}}_{{auction_no}} like this . and finally it should give output Admin
$qto create a promise that you never resolve but watch for updates, and use that as the cue to update your models.