Thinking about something for BlockPreview, and I'm...
# package-development
r
Thinking about something for BlockPreview, and I'm trying to get a parent scope in Angular. At the moment I'm having to write this, which looks horrendous and gives no context as to what I'm looking for:
$scope.blockEditorAlias = $scope.$parent.$parent.$parent.$parent.$parent.$parent.$parent.$parent.vm.model.editor;
Anyone know of any better way of doing this?!