I\'m trying to create an array holding telephones, i have this code
This should work.
app = angular.module('plunker', []) app.controller 'MainCtrl', ($scope) -> $scope.users = ['bob', 'sean', 'rocky', 'john'] $scope.test = -> console.log $scope.users
HTML:
Example plunk here