danielgadot
1/6/2019 - 1:11 PM

boilerplate new component

import _ from 'underscore';
import BaseController from '~/source/common/controllers/base';
import template from './create.html';


class Controller extends BaseController {

  static $inject = [
    '$scope',
  ];
  
  constructor(...args) {
    super(...args);
  }

}

const **Component = {
  template,
  controller: Controller,
  controllerAs: 'vm',
};

export default **Component;