Skip to content

Commit

Permalink
changes in description
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshwarpatlolla committed Apr 23, 2015
1 parent 4d3a27c commit 8b14ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Give the path of `style.css, templates.js and ionic-datepicker.js` in your `ind
<script src="lib/ionic-datepicker/dist/ionic-datepicker.js"></script>
````

3) In your application module inject the dependency `ionic-datepicker`, in order to work with the ionic time picker
3) In your application module inject the dependency `ionic-datepicker`, in order to work with the ionic date picker
````javascript
angular.module('mainModuleName', ['ionic', 'ionic-datepicker']){
//
Expand All @@ -44,7 +44,7 @@ $scope.currentDate = new Date();

````html
<ionic-datepicker idate="currentDate" >
<button class="button button-block button-positive"> {{pastDate | date:'dd - MMMM - yyyy'}} </button>
<button class="button button-block button-positive"> {{currentDate | date:'dd - MMMM - yyyy'}} </button>
</ionic-datepicker>
````

Expand Down

0 comments on commit 8b14ab5

Please sign in to comment.