Accessing blocklistitem udi from angular controller
I'm trying to create a custom back office view in Umbraco. I need to get a blockListItem by it's udi as it's settings contain values that I will use to generate classes and make the backoffice view look like the front end.
$scope.block.settingsData contains a list of settings properties, and in my case a list of BlockListItems. What I'd like to do is get the udi of each blocklistitem and pass that through to a controller where I will get the blocklistitem by it's udi (if possible) and then access the settings. Unfortunately because of the way I've set this up I need access to the blockListItem.
Accessing blocklistitem udi from angular controller
I'm trying to create a custom back office view in Umbraco. I need to get a blockListItem by it's udi as it's settings contain values that I will use to generate classes and make the backoffice view look like the front end.
$scope.block.settingsData contains a list of settings properties, and in my case a list of BlockListItems. What I'd like to do is get the udi of each blocklistitem and pass that through to a controller where I will get the blocklistitem by it's udi (if possible) and then access the settings. Unfortunately because of the way I've set this up I need access to the blockListItem.
Can anyone help? Thank you!
is working on a reply...