well im very new angular and i know this may be a very basic question but ,i've been trying for a long time and ive come to nothing . i just want to create data in json format and then display the results using controllers and angular. heres what ive done so far :
<body ng-app="guestTracker">
<script>
var guestTracker = angular.module('guestTracker',[]);
guestTracker.controller('dataController',function($scope){
$scope.guests=[
{ date:'1-6-2015', time:'3:00 am', rank:'b'}
];
});
</script>
<div ng-controller="dataController">
date : {{$scope.date}}
</div>
</body>
the output is just "{{$scope.date}}" just as it is.Thanks in advance and i know its a noob question but it would really help a lot.