First of all would like to mention that i am new in Angular JS. I have implemented below code in that i want to change button text (By default button names are "Ok" and "Cancel") .i.e "ok" button text to "Yes" and "cancel" button text to "No" without using modal popup. Is there any other way to implement this ? Its already compatible in all browser.
$scope.sectionLoad = function (formId, sectionId, parentIndex, index){
if(confirm("Save data?")){
$scope.submit($scope.form, pageId, sectorId);
}
$scope.search = false;
$scope.sectionDataLoad(formId, sectionId, parentIndex);
};