Using ngDreamFactory module: Getting angular error "cannot get property getResources of undefined"

Thank you for your reply, Jason.

I have made a service to interface to an SQL database. I tested the service in the LiveAPI (Works fine).

I did not have a talosapi.json file in swagger custom, though I have tried that too now by taking the raw data from LiveAPI and making a file. (Still get a undefined error in the DreamFactory.api.talosapi.getResources line)

Reading the angular-dreamfactory.js is unfortunately not easy for me. I do need some documentation or explanation of how to use the ngDreamFactory module. The fact that the following works in the Trivia app is what i’m looking for.

Is there some more documentation available with regard to the angular module that anyone has found? Is, it the missing authorization that halts initialization?

service.js: ‘MovieService’:

        DreamFactory.api.movies.getMovies({"q": _generateSearchTerm()},

            function (data) {
                defer.resolve(data);
            },
            function (data) {

                defer.reject(data);
            });

        return defer.promise;

movies.json:

{
   "swaggerVersion":"1.2",
   "apiVersion":"1.0",
   "basePath":"http://localhost:8080/rest",
   "resourcePath":"/movies",
   "produces":[
      "application/json"
   ],
   "consumes":[
      "application/json"
   ],
   "apis":[
      {
         "path":"/movies",
         "operations":[
            {
               "method":"GET",
               "summary":"Get a recordset of movies based on a query parameter",
               "nickname":"getMovies",
               "type":"Movies",
               "parameters":[
                  {
                     "name":"q",
                     "description":"Movie name as a string",
                     "allowMultiple":false,
                     "type":"string",
                     "paramType":"query",
                     "required":true
                  }
               ], etc etc