I have an array of doubles (they turn into doubles eventually) in my controller that I am trying to print on my web page using ng-repeat, but I am unsure how to do so. The array is simply":
vm.calorieArray = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
where vm is the alias of my controller.
In my html I have a div that looks like this that is attempting to print it out:
<div ng-repeat="value in vm.calorieArray">
{{value}}<br />
</div>
but nothing shows up on the page. Does anyone see the problem?