Skip to content

Instantly share code, notes, and snippets.

@aarshtalati
Created December 30, 2016 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aarshtalati/db188acd51566b744f995ab2c4beee4e to your computer and use it in GitHub Desktop.
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
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