I am actually working on application where Ionic Framework is perfectly suitable. I just need to display some views by consuming my RESTful API. Today I am working with google chrome which is great for getting quick preview of what I make and its rendering like I want.
The problem is when I build it and deploy it on Android I have some of my views that are not rendered properly.
For instance, below I have what I want and rendered by using google chrome.
And now when rendered with android.
Here the code that I am using to doing it… which is pretty simple.
<ion-view title="Actualités" ng-controller="FeedCtrl" ng-init="getFeeds()"> <ion-nav-buttons side="left"> <button menu-toggle="left" class="button button-icon icon ion-navicon"></button> </ion-nav-buttons> <ion-content class="has-header"> <div class="list card" ng-repeat="feed in feeds"> <div ng-include="'/views/feed/textwallmessage.html'"></div> </div> <ion-infinite-scroll on-infinite="getFeeds()" distance="1%"> </ion-infinite-scroll> </ion-content>
Any idea of what’s going wrong ?