JSFiddle - React, Tailwind, and code Playground
HTML
<body ng-app="myApp">
<test-dir fam-people='[1,4,6]'> </test-dir>
</body>
JavaScript
var myApp = angular.module('myApp', []);
myApp.directive('testDir', function() {
return { restrict: 'E'
, scope: { famPeople: '=famPeople' }
, template: "<ol> <li ng-repeat='p in famPeople'> {{p}}"
};
});