Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html lang="en">
<head>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.2.13/angular.min.js"></script>
<script>
var myApp = angular.module("myApp", []);
myApp.controller("myController", function($scope) {
$scope.id = 1;
$scope.changeId = function() {
$scope.id = $scope.id+1;
};
});
</script>
</head>
<body>
<div ng-app="myApp">
<div ng-controller="myController">
<div id="my-id-{{id}}">Div Id is "my-id-{{id}}" </div>
<button ng-click="changeId()">Change Id </button>
</div>
</div>
The most helpful ANGULARJS solutions