mirror of
https://github.com/bendtherules/chart-builder-demo.git
synced 2026-08-18 21:52:01 +00:00
Moved charts to directive
This commit is contained in:
@@ -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;
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user