I created an AngularJS app with "yo angular", ran "grunt server --force" and got to the 'Allo, Allo' success screen.
When I added ['ngResource'] as shown below it appears to hang...or at least nothing is displayed in the browser any more.
We're tried adding $resource as a param to function..i.e. tried actually using a resource but no luck. I don't see any errors in the web console. We verified that angular-resource.js is listed in components/angular-resources.
This feels like a dumb newbie error but its got us stuck.
'use strict'; angular.module('a3App', ['ngResource']) .factory('myService', function () { var foo = 42; return { someMethod: function() { return foo; } }; });