I am trying to use the ngCookies of AngularJS, but when I run my project I get the following error:
[$injector:unpr] Unknown provider: $$cookieReaderProvider <- $$cookieReader
This is an example of my code
var ole_no_ldap = angular.module('ole_no_ldap', ['ngRoute', 'localization', 'SharedServices','pascalprecht.translate','ngCookies']);
angular.module('ole_no_ldap').controller('CreatePasswordController', function($scope, $http, $translate,$cookies) {
$cookies.put('language', 'spanish');
}