Notice how we're also using the $onInit lifecycle hook for the controller , which is the new and correct place for such logic. Angular 2. Things ...
確定! 回上一頁