Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
by looking at the HTML code generated for the Umbraco back office, I noticed that Angular was not configured to disable debugging information. Is that on purpose? To allow some kind of Chrome extension to work with Umbraco or something?
If there is no specific reason why not to turn it off, I think it might be interesting to do it by configuration the compiler provider in the "run" method of the app like this:
This would remove all the "ng-scope", "ng-isolated-scope", ... from the HTML and would result in a not negligible performance improvement.
Note that I started learning Umbraco on Monday and this is just something I noticed. I already apologize if the suggestion does not make sense :-D
interesting, i wonder if that is a thing that is even supported in the angular version we are using?
Ouch, you're right, I forgot to take a look at that and from what I see, you're using the 1.1.5 (man, that's pretty old :-D).
Indeed, this functionality is only available as of Angular 1.3.
Well... Just put this post somewhere not to forget when updating angular version :-D
Yeah it's unfortunate that they had so many breaking changes in the 1.x series. In v8 the plan is to update to the latest 1.x so we can definitely integrate that.
There is already an active dev-v8 branch but the upgrade hasn't begun yet so unfortunately submitting a PR won't quite work just yet .
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted