Moved charts to directive

This commit is contained in:
2017-03-18 12:13:25 +05:30
parent 875e71b12d
commit d5342afc86
9 changed files with 463 additions and 98 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;
};
});