I am a new with AngularJS, and I am trying to bind data to the form controller, but it is not working.
HTML
<div ng-app="myapp" data-ng-controller="simpleContr">
<ul>
<li data-ng-repeat="user in users">
{{ user.name }}
</li>
</ul>
</div>
AngularJS
angular.module('myapp', []).controller('simpleContr', function($scope) {
$scope.users = [
{ name:'Ashraf', city:'Cairo'},
{ name:'Ali', city:'Assuit'},
{ name:'Mohammed', city:'Qena'}
];
});