Nope, #foo is not equivalent of ng-init. ng-init is gone and won't be back - you need to explicitly initialize fields in a component's class ...
確定! 回上一頁