I'm trying to use ng-table in my anuglarjs application. I didn't realize that npm version is f up and new release is not there yet, however my app is in an advenced stage and I can not use bower vesion.
I was trying to load latest version from git npm install git+ssh://git@github.com/esvit/ng-table.git --save
and then load it in my entry file:
import angular from 'angular';
import ngTable from 'ng-table';
angular.module('app', [ngTable]);
Sadly webpack throw a lot of errors:
ERROR in ./src/app.js
Module not found: Error: Cannot resolve module 'angular'(...)
I was also trying to use imports-loader:
const ngTable = require('imports?define=>false,angular!ng-table');
but no success either. Could somebody points me in right direction? I really would like to not rewrite all chore stuff because of the one lib.