1
I have next 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 experienced similar problem?
Thank you very much Marco Antônio!
– clluiz