Expression 'undefined' used with directive 'ionSlides' is non-assignable!
See original GitHub issueThe error started to appear when I switched from Ionic-1.0.0-beta.14 to Ionic-1.2.4. I was using ion-slide-box before and now switched to ion-slides.
<ion-content class="has-header has-footer">
<ion-slides change="slideHasChanged($index)" pager="false">
<ion-slide-page ng-show="currentView === 'today'">
<myDashboardOrder clientOrders="todaysOrders"></myDashboardOrder>
</ion-slide-page>
<ion-slide-page ng-show="currentView === 'upcoming'">
<myDashboardOrder clientOrders="upcomingOrders"></myDashboardOrder>
</ion-slide-page>
<ion-slide-page ng-show="currentView === 'past'">
<myDashboardOrder clientOrders="pastOrders"></myDashboardOrder>
</ion-slide-page>
</ion-slides>
</ion-content>
Which Ionic Version? 1.x or 2.x 1.2.4
Run ionic info
from terminal/cmd prompt: (paste output below)
Cordova CLI: 5.4.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS
Node Version: v0.12.4
Issue Analytics
- State:
- Created 7 years ago
- Comments:7
Top Results From Across the Web
Expression 'undefined' used with directive 'ionSlides' is non ...
The error started to appear when I switched from Ionic-1.0.0-beta.14 to Ionic-1.2.4. I was using ion-slide-box before and now switched to ...
Read more >Error: [$compile:nonassign] Expression 'undefined' used with ...
I am using the code from a book. .directive('myFacebook', [function(){ return { link: ...
Read more >Error: $compile:nonassign Non-Assignable Expression
Expression 'undefined' in attribute 'active' used with directive ... This error occurs when a directive defines an isolate scope property (using the =...
Read more >Angular 1.5 Embeding videos - Laracasts
ionic.bundle.js:26794 Error: [$compile:nonassign] Expression 'undefined' in attribute 'slider' used with directive 'ionSlides' is non-assignable!
Read more >Scope In Directives - AngularJS Thoughts - Google Sites
Error : [$compile:nonassign] Expression 'undefined' used with directive 'dragUploader' is non-assignable! However, if the code was changed as follows. Partial. < ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@shahroon Thanks so much, it works!
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.