I do not understand why it does not display the table data, it's identical to the page you were using to study.
Code:
<!DOCTYPE html>
<html>
<script src="/lib/angular-1.4.8.min.js"></script>
<body>
<div class="container">
<form class="navbar-form" role="search">
<div ng-app="myApp" ng-controller="namesCtrl">
<p>Pesquise um menu</p>
<p><input type="text" ng-model="test"></p>
</form>
<div class="row">
<div class="table-responsive">
<table class="table table-hover">
<thead>
<tr>
<th>Nome</th>
<th>Preço</th>
</tr>
</thead>
<tbody id="myTable">
<tr ng-repeat="x in names | filter:test">
<td>{{ x }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<script>
angular.module('myApp', []).controller('namesCtrl', function($scope) {
$scope.names = [
'Jani',
'Carl',
'Margareth',
'Hege',
'Joe',
'Gustav',
'Birgit',
'Mary',
'Kai'
];
});
</script>
</body>
</html>