for now the only way to add the directive to your app, is to load it with a script tag because we are not module.exports it (#39). We just create a angular module and add stuff to it.
The html-webpack-plugin can help you define a template with the script tag (after tour bundle script tag).
I hope this will help, I don't know if we can go futher with ES6 and modern exporting stuff now ? @galbini
Hello,
for now the only way to add the directive to your app, is to load it with a script tag because we are not
module.exports
it (#39). We just create a angular module and add stuff to it.The html-webpack-plugin can help you define a template with the script tag (after tour bundle script tag).
I hope this will help, I don't know if we can go futher with ES6 and modern exporting stuff now ? @galbini