Encountered a Runtime Error (void 0) is not a function


#1

I am trying to integrate a plugin : angular2-soap however once the module is included, and I serve ionic, I get an error saying:

Runtime Error (void 0) is not a function

Followed by stack:

TypeError: (void 0) is not a function
    at Object.<anonymous> (http://localhost:8100/build/main.js:67977:9)
    at __webpack_require__ (http://localhost:8100/build/main.js:20:30)
    at Object.<anonymous> (http://localhost:8100/build/main.js:65574:96)
    at __webpack_require__ (http://localhost:8100/build/main.js:20:30)
    at Object.<anonymous> (http://localhost:8100/build/main.js:91255:75)
    at __webpack_require__ (http://localhost:8100/build/main.js:20:30)
    at Object.<anonymous> (http://localhost:8100/build/main.js:90995:73)
    at __webpack_require__ (http://localhost:8100/build/main.js:20:30)
    at Object.<anonymous> (http://localhost:8100/build/main.js:145193:70)
    at __webpack_require__ (http://localhost:8100/build/main.js:20:30)

I am quite new to ionic and angular 2, so any help would be appreciated.