Rename js folder to app

This commit is contained in:
2017-03-18 13:44:28 +05:30
parent 5cac0568b8
commit cd2224d32e
9 changed files with 0 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
var app = angular.module("chart-builder.filters",[]);
app.filter("sentencecase", function () {
return function (str) {
if (typeof(str) === "string"){
str = str[0].toUpperCase() + str.slice(1);
}
return str;
};
});