JSFiddle - React, Tailwind, and code Playground
by Pradeep Shankar
HTML
<div id="app1" ng-app="myApp" ng-controller="myCtrl">
{{test}}
</div>
<div id="app2" ng-app="anotherApp" ng-controller="anotherCtrl">
{{test2}}
</div>
JavaScript
angular.module('myApp', []).controller('myCtrl', function($scope) {
$scope.test = "test";
});
angular.module('anotherApp', []).controller('anotherCtrl', function($scope) {
$scope.test2 = "test2";
});
angular.bootstrap(document.getElementById("app2"), ['anotherApp']);