I have this page.chtml. How can I change the content with another HTML content when I click on the button "changecontent" in AngularJS using ng-click and ng-if? I call this page much time I want when I click on one I change content of one but not all the page: have you an idea, please
$scope.changeContent = function(){
}
partial view :
<div class="container">
<div class="SvgPicto col-lg-1 col-md-1 col-sm-1 col-xs-1">
<img src="@Url.Content("~/Resources/Common/pic_famille.svg")" />
</div>
<div class="SvgPicto col-lg-1 col-md-1 col-sm-1 col-xs-1">
<img src="@Url.Content("~/Resources/Common/pic_GPL_car.svg")" />
</div>
</div>
<br/>
<div class="row">
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4 ">
<button ng-click="changeContent()">Supprimer</button>
</div>
</div>
</div>
call view :
<div class="container">
<div class="row ">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<div class="row">
@Html.Partial("~/Views/Common/ConfigurationTemplate.cshtml", new ViewDataDictionary { { "isLeft", true } })
</div>
<hr />