Is there a way to access the parent Controller's scope from within the TypeScript class?
Here is the code snippet:
export class EntityOverviewCtrl extends AbstractCtrl {
public static $inject = ["$state", "$http", "CurrentSession"];
public EntityName: string;
public Records: any[] = [];
constructor($state, $http, $parent, protected currentSession) {
super($state, $http);
this.init();
}
}
I am utilizing UI-Router and do not have access to the $scope.$parent
variable in this context...