Collection repeat not working

I am testing “collection repeat” in an ionic 2 project, no errors and no data displayed. Below is an example of the code i am using.



this.items = [1,2,3,4,5,6];


  < ion-item collection-repeat="item in items">
  < /ion-item>

Hey there, so thats ionic v1 syntax.

V2 does not have collection repeat at the moment, but it’s slated to land in future releases!

How can i see my ionic version

Thanks, that explains why it’s not working.

  <ion-content has-header="true" padding="true" scroll="true">
      <div class="bar bar-header item-input-inset">
          <label class="item-input-wrapper">
              <i class="icon ion-ios-search placeholder-icon"></i>
              <input type="search" placeholder="Rechercher Actualité" ng-model="item.$">
          <button class="button button-clear">

    <div class="list">
     <a collection-repeat="item in items | orderBy :'-actu_id' | filter:item:strict" class="item item-thumbnail-left"
        <img ng-src="{{item.actu_id}}.jpg">
        <h2>{{ item.actu_titre }}</h2>
        <p>{{ item.actu_resume }}</p>
        <p>Edité le {{ item.actu_date | date:'fullDate'}}</p>


this what i have put in my code