The documentation says ng-init will take any expression. So yes, you can do what you want above as long as the associated scope defines a ...
確定! 回上一頁