Lag of view open becuase of rendering posts in the view


#1

I started building with ionic,
and in one of my pages I load posts and render them to cards.

But when I go to that page I get a very bad lag…
it takes half a second to render only 10 posts.

You can see it here: https://www.dropbox.com/s/txql7h67l89yhqf/20141022_204324.mp4?dl=0

I already did many tests, the posts are static like this:

//in controller
$scope.posts = [{posts1…}, {posts2…}, … 10];

and the view is simple:

 <ion-content class="padding">
    <ion-refresher on-refresh="doRefresh()" pulling-text="Pull to refresh">
    </ion-refresher>

    <ion-list>
        <div ng-repeat="post in posts" ng-include src="'partials/post.html'"></div>
    </ion-list>
</ion-content>