Home passing a parameter to a service using ngclick AngularJS
 Hey I have array of numbers, I am writing them using ng-repeat. When you click on some number should be pass to function passParameterToService parameter index and should be saved in service to variable this.whichBoard. But I have do something wrong, can someone tell me why ng-repeat don't work when I add service and why after click on some number, it's dont write to a variable? demo  https://codepen.io/Turqus/pen/WXEryN