I imported the angular-route.js and made the following configuration:
<script type="text/javascript">
angular.module("layoutxepa",["ngRoute"]);
angular.module("layoutxepa").config(function (serialGeneratorProvider) {
serialGeneratorProvider.setLength(5);
});
angular.module("layoutxepa").config(function ($routeProvider) {
});
</script>
Follow the Error
Uncaught Error: [$injector:modulerr] Failed to instantiate module layoutxepa due to:
Error: [$injector:unpr] Unknown provider: serialGeneratorProvider