These are chat archives for AngularClass/NG6-starter

Apr 2016
Sergey Protko
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
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: {},
  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
Apr 30 2016 23:08
Oh nvm ^^, just realized this boiler uses the .component method.