HTMLПростой Угловая код не работает
<section ng-app="app">
<table ng-controller="VoicemailsCtrl">
<caption>{{test}}</caption>
</table>
</section>
JS
var app = angular.module('app', [])
.controller('VoicemailsCtrl', ['$scope', VoicemailsCtrl]);
function VoicemailsCtrl($scope, $http)
{
$scope.vms = [1,2,3];
$scope.test = 'this is a test';
}
Можно увидеть по адресу:
http://jsfiddle.net/tx9nbo8g/6/
Нет, я не сделал, это там, – Rafael
Его не было в оригинальной скрипке. –
Спасибо, сэр. +1 для всех – Rafael