I try to implement sections and trees in Umbraco 8 but it seems that the API has changed and the old way of implementing them has changed. I managed to write all the C# code and my section and tree appears on the screen and it works as it is supposed to work. I have problem with the Angular controller in the view. The way that I used to implement the views in Umbraco 7 does not work. I get the following error message.
Error: [$controller:ctrlreg] The controller with the name
'StudentEditController' is not registered.
Is there an example of how to implement the Angular controller for my view in Umbraco 8?
Umbraco 8 trees
I try to implement sections and trees in Umbraco 8 but it seems that the API has changed and the old way of implementing them has changed. I managed to write all the C# code and my section and tree appears on the screen and it works as it is supposed to work. I have problem with the Angular controller in the view. The way that I used to implement the views in Umbraco 7 does not work. I get the following error message.
Is there an example of how to implement the Angular controller for my view in Umbraco 8?
Hi Aristotelis
Have you had a look through this page?
https://our.umbraco.com/documentation/extending/section-trees/trees#providing-functionality-in-your-tree-action-views
I'm wondering if you have a package.manifest file in the folder that contains your views that has reference to your Angular controllers?
if they aren't loaded then that might spark the error of them not being registered if they are referred to in your views?
regards
marc
is working on a reply...