samedi 30 juillet 2016

Laravel, Restangular, and AngularJS 1.5.8

I'm attempting to figure out why I'm receiving a Module Injection error for my script that references to:

** Uncaught Error: / Error Reference / $injector / modulerr

app file which contains all files in /angular/routes/, /angular/controllers/, /angular/filters/, /angular/services/, /angular/directives/, /angular/routes/, /angular/config/

(function(){
"use strict";

var app = angular.module('app',
        [
        'ngRoute',
        'app.controllers',
        'app.filters',
        'app.services',
        'app.directives',
        'app.routes',
        'app.config'
        ]);

angular.module('app.routes', ['ui.router']);
angular.module('app.controllers', ['ngMaterial', 'ui.router', 'restangular']);
angular.module('app.filters', []);
angular.module('app.services', []);
angular.module('app.directives', []);
angular.module('app.config', ['ngMaterial']);
})();



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2aDCI04
via IFTTT

Aucun commentaire:

Enregistrer un commentaire