I have following in my app.js
(function(){
'use strict';
angular
.module('app', ['ngResource','ngRoute'])
.config(function ($routeProvider) {
$routeProvider
.otherwise({
redirectTo: '/'
});
})
.controller('AppCtrl', ["$scope", "$rootScope", "$location", "$timeout",
function($scope, $rootScope, $location, $timeout) {
}]);
}());
My html:
<html lang="pt-br">
<head>
</head>
<body ng-app="app" ng-controller="AppCtrl">
</body>
</html>
But when I start the application the following message appears:
Error: [$injector:unpr] Unknown provider: ifFilterProvider <- ifFilter
Has anyone ever had a similar problem?