ng-view directives is the answer: http://plnkr.co/edit/fuVb0mzhmDCKr1xKp7Rn?p=preview
Here is some discussion about it: http://stackoverflow.com/questions/16872191/angularjs-ui-bootstrap-tabs-that-support-routing On Monday, September 28, 2015 at 4:12:22 PM UTC-4, John Brown wrote: > > Hello All, > > Im new to angular, so please be kind :-) > > Im trying to use a tab containing 3 tabs. Lets call them A, B, C. What I > would like is when I click A, I load A.HTML, B loads B.HTML.. > > Each tab will contain a set of controls. I would like angular to work > within these tab html files to be able to use its functionality. > > Ive been running in circles up to this point so any tips would be helpful. > > I looked at directives. However these [if I understood correctly] load > automatically, and therefore cant change on button/link click > I looked at ng-include. This may work [I think]. If I point the ng-include > to a variable and set the links points to a function which in turn will > change the variable > I havent looked at Routing. Is it overkill? > > Thank you all!! Much appreciated. > -- You received this message because you are subscribed to the Google Groups "AngularJS" 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 http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
