ionic-team / ionic-v1

The repo for Ionic 1.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
193 stars 187 forks source link

Fix on slide.js example #226

Closed lp1bp closed 7 years ago

lp1bp commented 7 years ago

Weird thing, in the HTML example "data.slider" is used as a slider attribute (line 18), but this value is never initialized or used elsewhere, I think the $scope.slider initialized line 84 is the one that should be used.

Short description of what this resolves:

The example is more clear now, even through ion-slides is working without a defined 'slider' attribute for some reason

Changes proposed in this pull request:

Ionic Version: 1.x