Here's an example for you; 
https://github.com/shyamseshadri/angularjs-book/blob/master/chapter2/selectedRow.html

> On 8 Jun 2014, at 11:50 pm, Znegui Maryam <[email protected]> wrote:
> 
> hello :) , 
> 
>  I want to select only one row on this table and get the same row selected 
> with angularjs 
> 
> <table class="table table-striped table-bordered" id="sample_1">
>                             <thead>
>                             <tr>
>                                 <th style="width:8px;">select</th>
>                                 <th>Username</th>
>                                 <th class="hidden-phone">Points</th>
>                                
>                             </tr>
>                             </thead>
>                             <tbody>
>                             <tr class="odd gradeX">
>                                 <td><input type="checkbox"  value="1" /></td>
>                                 <td>Jhone doe</td>
>                                 <td class="hidden-phone">10</td>
>                                 </tr>
> 
>                             <tr class="odd gradeX">
>                                 <td><input type="checkbox"  value="1" /></td>
>                                 <td>gada</td>
>                                 <td class="hidden-phone">34</td>
>                                
>                             </tr>
>                             <tr class="odd gradeX">
>                                 <td><input type="checkbox"  value="1" /></td>
>                                 <td>soa bal</td>
>                                 <td class="hidden-phone">33</td>
>                                 
>                             </tr>
>                             
>                             </tbody>
>                         </table>
> 
> 
> thks a lot :)
> -- 
> 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.

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

Reply via email to