These are chat archives for AngularClass/NG6-starter

30th
Apr 2016
Sergey Protko
@fesor
Apr 30 2016 09:22
@nesiri you should use file-loader and url-loader I think. This is webpack issue, and you should modify webpack.config.js
Phil Léger
@phil-lgr
Apr 30 2016 22:39
This message was deleted
Hi, is this the way to use compile with the components ? Not sure how it relates to the directive api ..
let homeComponent = {
  restrict: 'E',
  bindings: {},
  template,
  controller,
  controllerAs: 'vm',
  compile: function compile(tElement, tAttrs, transclude) {
    return {
      pre: function preLink(scope, iElement, iAttrs, controller) {
      },
      post: function postLink(scope, iElement, iAttrs, controller) {
Phil Léger
@phil-lgr
Apr 30 2016 23:08
Oh nvm ^^, just realized this boiler uses the .component method.