angularjs - ng-modal undefined in ionic framework -


<ion-view view-title="categories">   <ion-content>      <form >         <div class="list">           <label class="item item-input">   <i class="icon ion-search placeholder-icon"></i>   <input  type="text" placeholder="search" ng-modal="searchtext"/> </label>  </div> </form>       <ion-list>  <button ng-click="setcode(searchtext)">check!</button>       <ion-item class="item-remove-animate item-avatar item-icon-right" ng-repeat="category in categories |filter:filtercat|filter:searchtext" type="item-text-wrap" href="#/tab/category/{{category.id}}">          <h2>{{category.name}}</h2>         <p>{{category.slug}}</p>         <i class="icon ion-chevron-right icon-accessory"></i>          <ion-option-button class="button-assertive" ng-click="remove(chat)">          {{searchtext}}         </ion-option-button>       </ion-item>     </ion-list>   </ion-content> </ion-view> 

i want use search option in ionic framework. here ng-modal undefined , input search not working. want use search through angularjs code.

its ng-model. not ng-modal. more information check this. official docs.


Comments

Popular posts from this blog

How to connect android app to App engine -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

php - display validation error message next to the textbox in codeigniter -