$scope.x = '10'; <div ng-controller = "controller" ng-init="function(x)">. How do I pass x var from the scope inside ng-init function? Asked By: Lulzim.
確定! 回上一頁