My project is utilizing angular and momentJS, with the addition of the angular-moment library. You can find my current progress in this fiddle
However, I am encountering an error when trying to use moment in a controller method:
TypeError: undefined is not a function
at new <anonymous> (http://fiddle.jshell.net/alkimake/LsNtN/1/show/:56:23)
at invoke (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:3624:28)
at Object.instantiate (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:3636:23)
at http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:6639:28
at http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:6083:34
at forEach (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:307:20)
at nodeLinkFn (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:6070:11)
at compositeLinkFn (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:5536:15)
at publicLinkFn (http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:5444:30)
at http://cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.1/angular.js:1287:27
I'm curious as to why I'm unable to utilize moment in a controller method or within the scope.