I think it is possibly an issue with your view try:
<div ng-controller="QuotesAndOrdersController">
<h1>Test</h1>
<p> My test :{{test}} </p>
</div>
but do also make sure you have a package.manifest file in your app_Plugins folder that will tell Umbraco to load the javascript resource that contains your controller... eg
Umbraco 8 Section with custom plugin
Good Day,
I am at wits end with this problem.
I have created a section with a plugin as follows :
With the following controller :
And the following view :
And the following tree controller
My problem is if you look at the controller $scope.test = "test";
The controller Executes and the html displays but {{test}} remains empty.
Some extra eyes will be a great help
Hi Anton
I think it is possibly an issue with your view try:
but do also make sure you have a package.manifest file in your app_Plugins folder that will tell Umbraco to load the javascript resource that contains your controller... eg
but I think you've probably got that otherwise you'd be seeing an error in the console about it not being defined!
anyway try a div instead of umb-panel directive, I don't think the directive is expecting ng-controller to be defined...
regards
Marc
Mark, you're a genius. You saved my ass. It was indeed the controller in the umb-panel. I wrapped that in a div and all works as it is supposed to.
is working on a reply...