JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app ng-controller="MainCtrl">
<ul>
<li ng-repeat="event in events">{{event.title}}</li>
<li ng-show="!events.length">No events</li>
</ul>
<button ng-click="addEvent()">Add event</button>
</div>
JavaScript
function MainCtrl($scope) {
$scope.events = [];
$scope.addEvent = function() {
$scope.events.push({title: '111'});
};
}