frederikprijck / angularjs-webpack-starter

:rocket: A modern frontend setup for AngularJS projects using NPM, TypeScript and Webpack.
184 stars 59 forks source link

Examples should include templateUrl w/ HTML loader config #1

Closed tommck closed 7 years ago

tommck commented 7 years ago

All the example code in here uses hard-coded HTML templates. It would be really nice if you had the html-loader configured and used templateUrl syntax in at least one example to show how to do that.

frederikprijck commented 7 years ago

I've added an example: https://github.com/frederikprijck/angularjs-webpack-starter/blob/master/src/app/contacts/components/add-contact-form/add-contact-form.component.ts#L29

It's not using templateUrl tho.