I m new to AngularJS.I dont understand why this code does not give any 
output.
<div ng-app="" ng-init="names=[true,false,false,true]">
  <p>Looping with ng-repeat:</p>
  <ul>
    <li ng-repeat="x in names">
      {{ x }}
    </li>
  </ul>
</div>

if we initialise like this:  ng-init="names=[true,false,'false','true'] 
//output
ng-init="names=[true,false,'false',true]// no output



-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to