Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a new creative way to include files to the app #17

Open
sharduul opened this issue Mar 24, 2015 · 1 comment
Open

Find a new creative way to include files to the app #17

sharduul opened this issue Mar 24, 2015 · 1 comment

Comments

@sharduul
Copy link
Owner

Instead of manually referencing your controllers and directives, etc... find a way that this process can be automated..

Use gulp task may be:
https://www.npmjs.com/package/gulp-inject

....or another good way is to create just ONE file - may be app.js (and the may be minify it to app.min.js)..... and write all the .js files in that... and just include that one file in your project... create a gulp task for this..
you need:

  • gulp sourcemap
  • gulp concat
@sharduul
Copy link
Owner Author

merge all in 1 app.js and add that app.js to the index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant