Do you have a manifest in your folder where the view and controller is also referenced? Otherwise that's probably the culprit.
If indeed everything is setup correctly then it's probably a cache issue.
You need to clear your browser cache and make a hard reload. If you're using chrome it can be a good idea to keep the console log open and then make sure that there is a checkmark in the "Disable cache (while DevTools is open)" in your settings.
Sometimes you'll also need to do the above things and then recycle the app pool to have the changes you make take effect.
Hope this helps. Otherwise have a tight look at the exercises in the Angular Workbook that Dennis referenced above to make sure that you have setup everything correct. It could also be that there is a minor hard to see typo somewhere :)
Customer Section - Angular Wireup
I am new to Angular and Umbraco 7 :)
Got the new section to load in Umbraco as expected. But I can't seem to wire up the Angular part of the equations.
In App_Plugins I have a file called magazine.DeleteController.Js
In my delete.html I have the following
If I look in chrome console i see the error.
What am I missing?
Thanks!
Hi skiltz,
First of all I must say that I haven't tried building a custom property editor or a custom section in Umbraco 7 using AngularJS.
But I think this documentation http://umbraco.github.io/Belle/#/tutorials and http://umbraco.github.io/Belle/#/api , and the Angular Workbook https://github.com/umbraco/AngularWorkbook made by Per, from the Umbraco HQ could be good starting pointers.
Or perhaps, this example of a person property editor can help you too. https://github.com/perploug/UkFest-AngularJS-Demo
Hope this can help you.
/Dennis
Hi Skiltz
Do you have a manifest in your folder where the view and controller is also referenced? Otherwise that's probably the culprit.
If indeed everything is setup correctly then it's probably a cache issue.
You need to clear your browser cache and make a hard reload. If you're using chrome it can be a good idea to keep the console log open and then make sure that there is a checkmark in the "Disable cache (while DevTools is open)" in your settings.
Sometimes you'll also need to do the above things and then recycle the app pool to have the changes you make take effect.
Hope this helps. Otherwise have a tight look at the exercises in the Angular Workbook that Dennis referenced above to make sure that you have setup everything correct. It could also be that there is a minor hard to see typo somewhere :)
Hope this helps.
Have fun angularing!
/Jan
Was the manifest file :)
Thanks!
Hi Skiltz
Cool - I hope you make some awesome stuff for your client :)
/Jan
is working on a reply...