Skip to content
This repository was archived by the owner on May 28, 2019. It is now read-only.

Commit 01185d7

Browse files
committed
fix(date.js) service can be a factory
1 parent 16314a5 commit 01185d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/date.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ angular.module('ui.date', [])
8282
};
8383
}
8484
])
85-
.service('uiDateConverter', ['uiDateFormatConfig', function(uiDateFormatConfig){
85+
.factory('uiDateConverter', ['uiDateFormatConfig', function(uiDateFormatConfig){
8686

8787
function dateToString(dateFormat, value){
8888
if (value) {

0 commit comments

Comments
 (0)