Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- voterino.controller('HomeController', ['$scope',
- function ($scope) {
- $scope.title = "";
- $scope.options = ["o", "x"];
- $scope.test = function(ind) {
- if ((ind+1) == $scope.options.length)
- $scope.options.push("s");
- //console.log(ind);
- }
- }]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement