-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SlideBox Generates Error Unless active-slide set. #403
Comments
You must set active-slide to a scope parameter. Setting it to 0 does not work. |
I think in this case we should change the original code to possibly use Thoughts? On Sat, Jan 11, 2014 at 5:43 PM, Justin Noel [email protected]:
|
Referring to angular/angular.js#1435 I believe we just need to make the parameter optional with '=?' (I'll submit a pull request for that) |
LOL - Just fixed this myself and came here to comment and submit new pull request to discover already solved. Thanks @matiboy. |
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. |
FYI : This was also mentioned in the closed issue #360
If you build a slide box but fail to set the
active-slide
attribute, you'll get this error 👍Error: [$compile:nonassign] Expression 'undefined' used with directive 'slideBox' is non-assignable!
http://docs.angularjs.org/error/$compile:nonassign?p0=undefined&p1=slideBox
The Angular expiation basically says that if you don't assign something with that directive, it's gotta fail. So, we need the docs to reflect that.
The text was updated successfully, but these errors were encountered: