Im gettting:

Error: [$injector:nomod] Module 'myApp.services' is not available!

*js/app.js*

angular.module('myApp', [
  'ngRoute',
  'ngResource',
  'myApp.filters',
  'myApp.services',
  'myApp.directives',
  'myApp.controllers'
])...

(services.js below does load)

*js/services.js*

var catalogService = angular.module( 'catalogService', ['ngResource'] ); 
catalogService.factory( 'Catalog', ['$resource', function( $resource ) { 
return $resource( '../api/index.cfm?f=app.catalog', {}, { query: { method: 
'GET', params: {}, isArray: true } } ) }] );

*js/controllers.js*

var catalogCtrl = angular.module( 'CatalogCntrl', [ 'catalogService' ]); 
catalogCtrl.controller('CatalogCtrl',[ '$scope', 'Catalog', function( 
$scope, Catalog ){ $scope.catalog = Catalog.query(); $scope.orderProp = 
'NAME'; } ]);

Try as I might, I can't get past this error. Any ideas?

Thanks,
Noah

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to