Hi Tom,

Well, you may be as cheeky as you want :-P.

   1. Hmm, if time permits I will give it a go, but it won’t be very soon. 
   2. I don’t have an IE <11. if you need old browser support, include the 
shims 
   <https://github.com/es-shims/es5-shim>you need. This will patch up non 
   compliant browsers so they can run my ES5 code. I really don’t believe in 
   keeping legacy browsers alive trough keeping all my stuff supported on 
   those! If you want a modern web app, get a evergreen browser! 

Oh, btw, I did some additional work on another version of the plunk, I 
think you will like that even better ;) this is a part off the html:

   <div class="colleft">
      <ul class="list-unstyled">
         <li ng-repeat='category in checkboxData' 
ng-init='showAll=false;catCount=category.data.length'>
            <h2 ng-click='showAll=!showAll' class='pointer'>{{category.title}}
               <small ng-hide="showAll || catCount<=10"> top 10</small>
               <small ng-show="showAll"> All {{catCount}}</small>   
            </h2>
            <ul class="list-unstyled">
               <li ng-repeat='data in category.data| orderBy:"count":true | 
limitTo:(showAll ? catCount : 10)'>
                  <label for='label{{data.name}}'>
                  <input type="checkbox" data-ng-model="data.filterUpon" 
id='label{{data.name}}'>
                  {{data.prefix}}{{data.name}} ({{data.count}}x)</label>
                  </input>
               </li>
            </ul>
         </li>
      </ul>
   </div>

Resulting screen:

<https://lh6.googleusercontent.com/-pTBoO6OaCLA/Uup0SroN_GI/AAAAAAAA5Nc/FfUwiAHc6c0/s1600/Clipbrd1.png>

How is that as a teaser? ;)

Regards
Sander

-- 
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/groups/opt_out.

Reply via email to