Greetings,

This is for AngularJS. Our directive looks like the following. In each of 
those folders (app/estimate/opex, app/estimate/capex/) What do I need to do 
so that each view (html) can reference it's own specific 
estimate.opexcontroller.js and estimate.capexcontroller.js? Thanks!

.directive("estimateOpex", function() {
return {
restrict: "EA",
templateUrl: "app/estimate/opex/estimate.opex.html"
//controller: estimateopex,
//controllerAs: 'vm',
//bindToController: true 
};
}) 
.directive("estimateCapex", function() {
return {
restrict: "EA",
templateUrl: "app/estimate/capex/estimate.capex.html"
};
})

-- 
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