<ion-list>
            <ion-item class="item" ng-repeat="homework in homework_array" 
type="item-text-wrap">
                <!--img ng-src="{{host_url}}/{{purchased.image}}"-->
              <div class="row" ng-style=
"{'background-image':'url({{host_url}}/{{homework.homework}})'}">           
     
<!--img src="{{host_url}}/{{homework.homework}}" 
style="width:80%;height:auto"-->               
              </div>
              <div class="row">
                <h2>{{homework.datetime}}</h2>
              </div>
            </ion-item>
        </ion-list>

this is my code in ionic, who can tell me how to use reponsive image in 
angularjs?

thanks very much

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