<!doctype html>
<html ng-app="StudentApp">
  <title>With Angular - List Student Names using Module</title>

  <body ng-controller="StudentController">

    <ul ng-repeat="student in Students">
      <li>{{student.Name}} - {{student.City}}
      </li>
    </ul>

    <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.28/angular.js"></script>
    <script src="app.js"></script>
    <script src="StudentController.js"></script>
  </body>
</html>
var app = angular.module('StudentApp', []);
var StudentController = function ($scope){
  $scope.Students = [
    {Name: 'Eric Guthmann', City: 'Omaha'},
    {Name: 'Taylor Clark', City: 'Chicago'},
    {Name: 'Mike Friedman', City: 'Des Moines'}
    ];
}
  
angular.module('StudentApp').controller('StudentController',StudentController);