Currently I work on a few applications that have older versions of 
AngularJS each of which share directives with other AngularJS applications. 
We want to be able to convert our applications eventually to Angular 
instead of AngularJS and ngUpgrade looks promising. 

*The scenario:*

Suppose there are three applications A, B, and C where applications A and B 
use directives from application C and all three are AngularJS 1.2. Would it 
be possible to use ngUpgrade with application C so that its existing 
Angular 1.2 directives could be rewritten as Angular Components but still 
be usable in applications A and B which will not have any clue about 
ngUpgrade or Angular Components? 

My thought was I could just wrap the Angular Components in an AngularJS 
directive that is a shallow facade delegating to the internal Angular 
Component thereby not exposing the applications A and B the notion of 
ngUpgrade and Angular Components.

Thoughts?


Aaron Hunt

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to