I'm a newbie to the MEAN stack and am unclear on how to resolve an error in my AngularJS code. This is the error I keep getting:
Error: [$injector:unpr] Unknown provider: dataFilterProvider <- dataFilter
I'm not quite sure where to try to resolve the error. Perhaps my controller file:
angular.module('articles').controller('ArticlesController', ['$scope', '$routeParams', '$location', 'Authentication', 'Articles',
function($scope, $routeParams, $location, Authentication, Articles) {
// various $scope methods
}
]);
Anyone have some ideas of things to look into in order to resolve this error?
UPDATE: I tracked it down to this line of one of my view.html files:
<em data-ng-bind="article.created | data:'mediumDate'"></em>
Perhaps I need to go through my model and make sure I have those values represented properly.