“Impossible d'instancier module ngSanitize” lors de la pré-rendu AngualrJS site avec PhantomJS

Je suis d'essayer de pré-rendu mon AngularJS site à l'aide de PhantomJS. (Avec phantomjs-runner.js de http://www.yearofmoo.com/2012/11/angularjs-and-seo.html) je n'arrive pas à charger la page par le biais de PhantomJS que l'erreur ci-dessous se produit. Cette erreur ne se produit pas dans IE/Chrome/Firefox.

Comment puis-je corriger cette erreur?

Erreur:

Error: [$injector:modulerr] Failed to instantiate module SpaceForAfrica due to:
Error: [$injector:modulerr] Failed to instantiate module dialogs due to:
Error: [$injector:modulerr] Failed to instantiate module ngSanitize due to:
Error: [$injector:nomod] Module 'ngSanitize' is not available! You either misspelled the module name or forgot to load it. If registering a
module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.2.1/$injector/nomod?p0=ngSanitize
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.js:1507
    at ensure (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.js:1435)
    at module (http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.js:1717)
    at http://ajax.googleapis.com/ajax/libs/angularjs/1.2.1/angular.js:3527

Module config

var SpaceForAfrica = angular.module('SpaceForAfrica', ['ngRoute', 'HashBangURLs', 'ui.bootstrap', 'ui.bootstrap.tpls', 'google-maps', 'ui.growl', 'dialogs', 'ngSanitize', 'angularSpinner','angulartics', 'angulartics.google.analytics']).config(spaceForAfricaConfig);

OriginalL'auteur Michael Williams | 2014-06-07