gram z angularjs, ale dostaję komunikat o błędzie: Argument 'Controller' is not a function, got undefined
Oto JSFiddle i HTML kod:... Argument nie jest funkcją, ale niezdefiniowane
<h2>Hata's Tree-Like Set</h2>
<div ng-app ng-init="N=3;" ng-controller="Controller">
<input type="range" min="1" max="10" step="1" ng-model="N">
<div class="tree"></div>
</div
Potem zdefiniować Controller
funkcja w JavaScript, która nie jest rejestrowana z jakiegoś powodu.
function Controller($scope){
$scope.$watch("N", function(){ ... });}
Możesz dowiedzieć się problem, o tej listy: http://stackoverflow.com/a/26797874/ 930170 –