I need to use same ng-app and same ng-controller multiple times in the same mvc view page.
<div ng-app="rootapp" ng-controller="rootcontroller">
<div id="div1">
---first content--------
<div ng-app="editorApp" ng-controller="editorController" ng-init="getInformation('SettingsDuplicates')">
<div class="col-sm-2 validation-right" style="width:12.666667%">
<div class="greySlideB">
@Html.Partial("~/Views/Shared/Information/_InformationPartial.cshtml")
@Html.Partial("~/Views/Shared/RecentNotes/_RecentNotesPartial.cshtml")
</div>
</div>
</div>
</div>
<div id="div2">
.......second content-------
<div ng-app="editorApp" ng-controller="editorController" ng-init="getInformation('SettingsDuplicates')">
<div class="col-sm-2 validation-right" style="width:12.666667%">
<div class="greySlideB">
@Html.Partial("~/Views/Shared/Information/_InformationPartial.cshtml")
@Html.Partial("~/Views/Shared/RecentNotes/_RecentNotesPartial.cshtml")
</div>
</div>
</div>
</div>
</div>
because ng-init function call parameter is different for each div. what is the best way to use same ng-app and ng-controller multiple times in another ng-app.