I have big forms with lots of data, so I'd like tabs with chunks of data
for each tab.
in any tab i have an html forms whish i want to send his value via
angularJS service to REST service, my forms is prefilled using ng-init and
apache velocity,
My problem is when i send the data i have only the data of the active tab,
can someone help me to get all value of all forms in each tab or any idea
to do this
my js code for rooting
app.config([ '$routeProvider', function($routeProvider) {
$routeProvider
.when('/xlsparams', {templateUrl : xlsparamsTemplate, controller :
xlsparamsController})
.when('/alternative', {templateUrl : alternativeTemplate, controller
: alternativeController})
.otherwise({redirectTo : '/xlsparams'});
} ]);
html code
<div ng-controller="generationController">
<ul class="nav nav-tabs">
<li id="xls" class="active"><a href="#xlsparams">xls</a></li>
<li id="alt"><a href="#alternative">alternative</a></li>
</ul>
<div ng-view></div>
<button class="form-control input-sm btn-primary"
ng-click="generate()">generate</button>
</div>
--
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.