fyi, I created a new LB project last week as a hobby project using the
latest LB code and it didn't create a 'Public' folder

a Bacn project uses '/client/www' as the location for static files, not
'Public'


On Mon, Feb 3, 2014 at 12:41 AM, Miroslav Bajtoš
<notifications@github.com>wrote:

> In tasks/loopback_angular.js:
>
> > +
> > +    // Merge task-specific and/or target-specific options with these defaults.
> > +    var options = this.options({
> > +      ngModuleName: 'lbServices',
> > +      apiUrl: undefined
> > +    });
> > +
> > +    var appFile = options.input;
> > +    if (!appFile)
> > +      grunt.fail.warn('Missing mandatory option "input".');
> > +
> > +    if (!grunt.file.exists(appFile))
> > +      grunt.fail.warn('Input file ' + appFile + ' not found.');
> > +
> > +    if (!options.output)
> > +      grunt.fail.warn('Missing mandatory option "output".');
>
> I am happy to add some defaults, but I am not sure what values would work
> for most users.
>
> What do you propose? What would work for projects created via bacn?
>
> This is the structure created by slc lb project:
>
> {project-root}
>    app.js
>    public
>       {static files}
>
> Assuming that Gruntfile will be added to the project root, the defaults
> would be input: 'app.js' and output: 'public/js/lb-services.js'.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/strongloop/grunt-loopback-angular/pull/1/files#r9376261>
> .
>