<!doctype html> <html ng-app> <head> <script src="C:\Users\Ольга\Documents\Visual Studio 2010\Projects\курсач Тригуб\js.html"></script> </head> <body> <div> <label>Name:</label> <input type="text" ng-model="yourName" placeholder="Enter a name here"> <hr> <h1>Hello {{yourName}}!</h1> </div> </div> <!--область действия контроллера--> <div ng-controller='myController'> <table class='table'> <thead> <tr> <th>Номер зачетки</th> <th>Фамилия</th> <th>Имя</th> <th>Отчество</th> </tr> </thead> <tbody> <tr ng-repeat='student in students'> <td>{{student.[Номер зачетки]}}</td> <td>{{student.[Фамилия]}}</td> <td>{{student.[Имя]}}</td> <td>{{student.[Отчество]}}</td> </tr> </tbody> </table> </div> <!--подключение фреймворка AngularJS--> <script src="angular/angular.min.js"></script> <!--подключение скрипта--> <script src='script.js'></script> </body> </html>
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more