JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app="myApp" ng-controller="MyCtrl">
App name: {{name}}
</div>
CSS
tr{
border-bottom: 1px solid blue;
}
td{
padding: 10px;
}
JavaScript
var myApp = angular.module('myApps', []);
myApp.service('MyService', function($rootElement){
return {name: $rootElement.attr('ng-app')};
});
myApp.controller('MyCtrl', function($scope, MyService){
$scope.name = MyService.name;
});