Skip to content

module option #10

@geddski

Description

@geddski

What about this idea: instead of creating app.templates module, just let people specify the name of the module to add templates to:

ngtemplates: {
      app: {
        src: ['app/templates/**/*.html'],
        dest: 'app/templates.js',
        module: 'app'
      }
    },

That way you wouldn't have to specify a dependency:

angular.module('app', []);

The benefit of this is you don't have to run a build before being able to use your app.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions