-
-
Save aarshtalati/db188acd51566b744f995ab2c4beee4e to your computer and use it in GitHub Desktop.
Setting up an AngularJS app module, with Kendo, Date Input and jQuery configured
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = angular.module('app', [ | |
// below, we're telling AngualrJs that we're gonna use kendo ui core's directives | |
'kendo.directives' | |
]); | |
// here is a very simple filter which has nothing to do with kendo but just to format my dates | |
app.filter("asDate", function () { | |
return function (input) { | |
return new Date(input); | |
} | |
}); | |
app.value('$', $); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment