Use Angular Directive in ASCX Control for Package Install
During the package creation process, you are allowed to select a ASP.NET User Control (ASCX file) to display once the installation has completed:
When I install the package, it loads the control up fine. However, the control contains an AngularJS directive I created. The problem is that the directive is not being processed.
I suspect that is because Umbraco isn't doing all the Angular stuff in the iframe containing the ASCX that it does with the rest of the back office.
What is the easiest way of getting this directive to appear after my package is installed?
The lame alternative I'm considering is simply linking to the developer section that contains a tab that is also displaying the same Angular directive.
Use Angular Directive in ASCX Control for Package Install
During the package creation process, you are allowed to select a ASP.NET User Control (ASCX file) to display once the installation has completed:
When I install the package, it loads the control up fine. However, the control contains an AngularJS directive I created. The problem is that the directive is not being processed.
I suspect that is because Umbraco isn't doing all the Angular stuff in the iframe containing the ASCX that it does with the rest of the back office.
What is the easiest way of getting this directive to appear after my package is installed?
The lame alternative I'm considering is simply linking to the developer section that contains a tab that is also displaying the same Angular directive.
I have submitted a feature request to allow Angular-driven HTML files in the post-install page: http://issues.umbraco.org/issue/U4-7471
However, it would still be nice to be able to figure out a workaround in the meantime.
is working on a reply...