The below function not working
var app = angular.module("test",[]);
app.controller("t",function($scope) {
alert();
$scope.changename=function() {
var input=prompt("Enter a name here:");
if(input) $scope.yourName=input;
}
});
801
0
3858
Support Team
06-Dec-22
Dear Tajdeen,
Please try the project from the begging. Build the program step by step, you will get it works.
Hope this helps.
Thanks.