Using expression `(“&”)` binding to pass data from AngularJS component to parent scope
问题 Can't access controller scope from angular component output binding function I'm trying to access my home controller scope from dashboard component but it's undefined. I also tried a second approach but then my function variable is undefined. I'm using Angular 1.5 with Typescript FIRST APPROACH: Home controller HTML: <div class="home-container"> <dashboard-component on-tile-type-changed="HomeCtrl.onTileTypeChanged"> </dashboard-component> </div> Home controller js: namespace app.dashboard {