7 Commits

Author SHA1 Message Date
Ashok Fernandez f05cc418da Fixed version mismatch 2015-06-12 19:07:55 +02:00
Ashok Fernandez be213a2a5e Upped version number 2015-06-12 19:06:18 +02:00
Ashok Fernandez d94c79a328 Updated no text placeholder 2015-06-12 19:04:38 +02:00
Ashok Fernandez 37e68f606e Made demo link smaller 2015-06-12 19:02:45 +02:00
Ashok Fernandez 80ce0aaace Added demo link to readme 2015-06-12 19:02:12 +02:00
Ashok Fernandez 98cf4068f3 Updated 2015-06-12 18:59:21 +02:00
Ashok Fernandez 9825c73da9 Added usage to README 2015-06-12 17:56:59 +02:00
3 changed files with 11 additions and 2 deletions
+8
View File
@@ -6,8 +6,16 @@ The user is able to choose their timezone by either typing the name of their cou
The angular model that is bound to this directive will be set to the timezone name as used by [moment-timezone](http://momentjs.com/timezone/docs/) i.e `Pacific/Auckland`.
[View Demo](http://mishguruorg.github.io/angular-timezone-selector/)
## Usage
Install using bower
```
bower install angular-timezone-selector
```
Make your Angular module depend on module `angular-timezone-selector`.
```javascript
+2 -1
View File
@@ -97,7 +97,8 @@ angular.module('angular-timezone-selector', [])
width: '300px',
include_group_label_in_selected: true,
search_contains: true,
no_results_text: 'No results, try searching for the name of your country or nearest major city.'
no_results_text: 'No results, try searching for the name of your country or nearest major city.',
placeholder_text_single: 'Choose a timezone'
})
// Update the box if ngModel changes
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "angular-timezone-selector",
"version": "1.0.0",
"version": "1.0.2",
"homepage": "https://github.com/mishguruorg/angular-timezone-selector",
"authors": [
"Ashok Fernandez <ashok@mish.guru>"