question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Expression 'undefined' used with directive 'ionSlides' is non-assignable!

See original GitHub issue

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 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:closed
  • Created 7 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
Hezhenlicommented, Jan 13, 2017

@shahroon Thanks so much, it works!

0reactions
ionitron-bot[bot]commented, Sep 5, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found