JSFiddle - React, Tailwind, and code Playground

HTML

<body ng-app="myApp">
    <div ng-controller="Ctrl">
        Search:
        <input ng-model="searchText">
        <div ng-repeat="item in items|filter:searchText">
            {{item.type}}    </div>
    </div>
</body>

JavaScript

var myApp = angular.module('myApp', []);

myApp.controller('Ctrl', function ($scope) {

    $scope.items = [{
        "type": "foo",
            "name": "blah"
    }, {
        "type": "bar"
    }, {
        "type": "foo"
    }, {
        "type": "baz"
    }, {
        "type": "test"
    }];

});