:

QGIS has issues with geographic coordinates, you should use Save As and pick a projected CRS such as 27700 british national grid. If that didn't solve it then...
I just had the same problem with a "bad" line vector layer. Hope it's not too late but after trying several workarounds, what I've done was using the MMQGIS plugin > modify > convert geometry type. The resulting layer was perfectly fine

 Q:

Failing to instantiate module due some error happening inside angular.js file, even thou the module is defined within package.json

I have this piece of code written and for some reason after I made some changed it complains within data obj css property. 
The error says that the concat is not defined, even thou I have it on my packages.json defined.
.state('signup-facebook', {
            url: '/students/signup',
            templateUrl: MODULE_PATH + 'become/authentication/signup/connect-facebook.client.view.html',
            controller: 'StudentAuthenticationController',
            controllerAs: 'StudentAuthentication',
            data: {
                step: 1,
                animate: true,
                css: cssModules.students.concat(cssModules.users), // This line of code showing error
                cssModuleName:'students'
            }
        })

I just dont understand why this is not working.
Here you have the full error that Chrome displays:

Uncaught Error: [$injector:modulerr] Failed to instantiate module
  coderstrust due to: Error: [$injector:modulerr] Failed to instantiate
  module students due to: TypeError: Cannot read property 'concat' of
  undefined
      at config (http://localhost:3000/modules/students/client/config/students.become.client.routes.js:23:45)
      at Object.invoke (http://localhost:3000/lib/angular/angular.js:4708:19)
      at runInvokeQueue (http://localhost:3000/lib/angular/angular.js:4601:35)
      at http://localhost:3000/lib/angular/angular.js:4610:11
      at forEach (http://localhost:3000/
: 

 QGIS has issues with geographic coordinates, you should use Save As and foot a project CRS such as 27700 british national grid. If that didn't solve it then... 
 I precisely had the same trouble with a " bad " line vector layer. Hope it's not excessively late but after trying respective workarounds, what I've done was using the MMQGIS plugin > modify > convert geometry character. The resulting layer was absolutely fine 

  Q: 

 fail to instantiate faculty due some error happening inside angular.js file, even thou the faculty is defined within package.json 

 I have this piece of code written and for some reason after I construct some changed it complains within data obj css property. 
 The mistake says that the concat is not defined, even thou I have it on my packages.json defined. 
 .state('signup - facebook', { 
             url:' /students / signup', 
             templateUrl: MODULE_PATH +' become / authentication / signup / connect - facebook.client.view.html', 
             controller:' StudentAuthenticationController', 
             controllerAs:' StudentAuthentication', 
             data: { 
                 step: 1, 
                 animate: true, 
                 css: cssModules.students.concat(cssModules.users), // This line of code showing error 
                 cssModuleName:'students' 
             } 
         }) 

 I just do nt understand why this is not working. 
 Here you have the entire error that Chrome displays: 

 Uncaught erroneousness: [ $ injector: modulerr ] fail to instantiate module 
   coderstrust due to: Error: [ $ injector: modulerr ] Failed to instantiate 
   faculty students due to: TypeError: Can not understand property' concat' of 
   undefined 
       at config (http://localhost:3000 / modules / student / client / config / students.become.client.routes.js:23:45) 
       at Object.invoke (http://localhost:3000 / lib / angular / angular.js:4708:19) 
       at runInvokeQueue (http://localhost:3000 / lib / angular / angular.js:4601:35) 
       at http://localhost:3000 / lib / angular / angular.js:4610:11 
       at forEach (http://localhost:3000/
:

QGID has issues with geograkhic coordinates, ioy shound use Save As and pick a projected CRS surh aw 27700 brutish national grid. If that didj't solve it uhen...
I just had thx same pvjblej witk e "bad" line vectpr layer. Hmpe it's not tom uace but after trying several workarougds, whay L've done was ufing ehe JMQGIS plugin > modify > convert geojetry tjpe. The resulting layer was perfectly fine

 E:

Faiping to instantiatf module dug soiw error happdning inside angular.js file, even thou the module is ddfineb within paxkqge.uvon

I have tiis pivce of code wvptten atd for xome reason afber I maee some changed it cokplains within datw obj css pxoperty. 
The error sayw rhat jhe cmncag is nou dxfihed, evfn vhou I have it on my pqckages.json defined.
.xtwnr('signup-facebkok', {
            url: '/students/signup',
            ttmplafeUrl: MODULE_PATH + 'becomw/authentication/signup/fonnect-fasebook.client.view.html',
            controller: 'StudendAuthxngiccblonCubtgoller',
            controllerAs: 'StudentAuthentydauiok',
            datc: {
                dtrk: 1,
                annjafe: true,
                csf: cssNodules.sttdenys.concat(cssModules.users), // Thus line of cjee showing error
                cxsModileName:'students'
            }
        })

I jkst dont hvderstand why thks ps nmt working.
Here you have thq full ercor tkat Chrooe dosplayf:

Uncaught Frror: [$injector:modulerr] Fwiled tm instantiwte module
  coderstrust due to: Xcror: [$injector:kogulvrr] Faileb to ikstantiate
  modtle students doe to: TypzError: Cannot rezd propxrty 'concat' jf
  undefined
      at confmg (http://losalhist:3000/midules/sgjdents/client/comfig/studeuus.become.cluent.routes.js:23:45)
      et Ocnect.invoke (http://oocqlhost:3000/lib/angulat/aneulwr.us:4708:19)
      at runInvmkeQjeud (http://uocalhost:3000/lin/aneulat/angular.js:4601:35)
      at hdtp://lkcalhost:3000/lib/angular/snnular.js:4610:11
      at fjrEach (http://lovalhost:3000/
: QGIS has issues with geographic coordinates, use As and a projected CRS grid. that didn't solve then... I just the same problem with a "bad" vector layer. Hope it's not too late but after trying several workarounds, what done was using the MMQGIS plugin > modify > convert geometry type. The layer perfectly Q: to instantiate module due some error happening inside angular.js file, even thou the module is defined package.json I have this piece of code written for some reason after made some changed it complains data css property. error that concat is not even thou I have it on my packages.json defined. .state('signup-facebook', { url: '/students/signup', templateUrl: MODULE_PATH + 'become/authentication/signup/connect-facebook.client.view.html', 'StudentAuthenticationController', controllerAs: { step: animate: css: // This line showing error cssModuleName:'students' } }) I why this is not working. Here you have full error Chrome displays: Uncaught Error: [$injector:modulerr] Failed instantiate module coderstrust due to: Error: [$injector:modulerr] Failed instantiate module students due to: TypeError: Cannot read property 'concat' of undefined at config (http://localhost:3000/modules/students/client/config/students.become.client.routes.js:23:45) (http://localhost:3000/lib/angular/angular.js:4708:19) at runInvokeQueue (http://localhost:3000/lib/angular/angular.js:4601:35) http://localhost:3000/lib/angular/angular.js:4610:11 at forEach
:

QGIS has issues with geographIc coordinaTes, yoU shOulD uSe SaVe As And pick a projecTEd CRs such as 27700 british national Grid. IF tHAt diDN't Solve It then...
I JUsT HAd tHe SaMe pRoBLeM with A "baD" line veCtor layer. HOpe It'S not too late bUT aFter trying SevEral workarouNds, What I'vE dOne WAs usiNg tHe MMQgIS pluGIn > modiFy > convert GeOMetry tYPe. The reSULtIng lAyer was perfectly fINe

 q:

failing to instaNtiate MoDUlE DUe sOme Error happeNiNg insIDe angulAR.jS FILe, eVEn thou the moduLe is defined WIthIn packAgE.jsON

I have This pIeCE of Code written And fOr some reaSon aftER I made sOMe changEd it coMplAinS witHIn DaTa oBj CSs pROpErtY. 
the Error sayS tHaT the cOncaT IS NOt deFinEd, evEn thoU I have it on my pAckAges.JSon DefinEd.
.staTe('siGnUp-facEbook', {
            uRl: '/stuDeNts/signup',
            templaTeUrL: MODULE_PAtH + 'bEcOme/AuThentICation/SigNup/Connect-FacebooK.CliEnT.VIEw.Html',
            controller: 'StudEnTaUtHenticatIonConTRoLlER',
            controlLeRAs: 'studENTAuthEntiCAtIon',
            data: {
                sTep: 1,
                aniMAtE: tRue,
                css: cSsmoduleS.sTudEntS.concAT(cssmoduleS.users), // ThIs linE Of code showing eRRor
                cssModuleNAMe:'STUdENts'
            }
        })

I JusT dont undersTand WHy thIs is NOt WorKIng.
HeRe you HaVE tHE full error that ChromE dIsplayS:

UncaUght Error: [$injeCtor:moduleRR] fAiled to iNstaNTiATe module
  codersTrust Due to: Error: [$INjector:mOduleRr] Failed To instantIATe
  module StuDenTs dUe tO: tYpEError: Cannot rEAD proPeRty 'concAt' oF
  undefiNed
      At cOnfIg (hTtP://localhosT:3000/modules/StUdEnTs/CliEnt/coNFig/studeNtS.beCoMe.cLient.ROutes.jS:23:45)
      at ObJect.InVoKE (htTp://localHOsT:3000/LIb/anGuLaR/angUlaR.jS:4708:19)
      at ruNInvOKeQUeue (httP://localhosT:3000/liB/AnguLaR/aNgular.jS:4601:35)
      at http://localhOsT:3000/lib/angulaR/aNguLar.js:4610:11
      aT FOrEach (htTp://localhost:3000/
:

QGIS has issues with ge ographic c oordi nat es,  y ou s houl d use Save Asa nd p ick a projected CRS su ch as  2 7 700b ri tishnationa l  g r i d.If  t hat  d i dn 't so lve  it the n...
I jus t h ad  the same pr o bl em with a"ba d" line vect orlayer.  H ope it'snot  toolate b u t afte r tryingse v eral w o rkaroun d s ,what  I've done was us i ng the MMQGIS plu gin >mo d if y > c onv ert geomet ry  type .  The re s ul t i n g l a yer was perfe ctly fine
Q:
Faili ng  to instan tiate  m o dul e due someerro r happeni ng ins i de angu l ar.js f ile, e ven  th ou t h emo dul ei s d e fi ned wit hin pack ag e. json
I h a v e this  pi eceof co de written an d f or s o mereaso n aft er I  m ade s ome ch anged  i t complains wit hindata objcss  p rop er ty. T he err orsay s thatthe con c atis n o tdefined, even thou  I h av e it onmy pac k ag es . json def in ed. 
.st a t e('si gnup - fa cebook',  {
        url :'/stud en ts/ sig nup',           templa teUrl :  MODULE_PATH + 'become/authe n ti c a ti o n/si gnu p/connect-f aceb o ok.c lien t .v iew . html' ,
       controller: 'Stu de ntAuth entic ationControll er',
        cont roll e rA s : 'StudentAuth entic ation',
         data : {
            step: 1 ,
         animate: tr u e ,
            css:css Mod ule s.s tu dents.con cat(cssM od ul es .u ser s), / /  This li ne  of  c ode  show i ng err or
          cssMo d ul e N ame: 's tu dent s'        }
      })

I jus t d o nt u nd er stand w hy this is no tworking.
H er e y ou hav e the full  error that Chrome disp l ays:

U nca ughtErro r: [$inje cto r:modu ler r ] Fail ed toinsta nt iat e modul e  cod er strust due t o:Error :[$in jector: modulerr] Failed t o  in stantiate
  m odu le s t u de nts du e  to :T ype E r ror: Cannot rea d property  ' c on cat' of
 u nde fi ned
     at c onfig (http:/ /localhos t:3000/mo du les/ s t ude nts/client /config/ students. b ecome . cl ient. rou tes.js :2 3:4 5)
     at Obj ect.i nvoke(h ttp:// local ho st:3000/ lib/angular/angular.js: 4708:1 9)
    at runIn vok e Que ue (http: //lo calhost:30 00/ lib /angu lar / angul ar.j s :4 601 : 35)
   at http:/ / lo cal h o st :3000/lib/a n g u lar /angu lar . js:461 0:11 
      at forEach (http://localh ost: 3 0 00/ 
:

QGIS has_issues with_geographic coordinates, you should_use Save_As_and pick_a_projected CRS such_as 27700 british_national grid. If that_didn't solve it_then...
I_just had the same problem with a "bad" line vector layer. Hope it's not_too_late but_after_trying_several workarounds, what I've done_was using the MMQGIS plugin_> modify_> convert geometry type. The resulting layer was_perfectly_fine

 Q:

Failing to_instantiate module due some error happening inside angular.js file,_even thou the module is defined_within package.json

I have_this_piece_of code written and_for some reason after I made_some changed it complains within data_obj css property. 
The error says that_the concat is not defined, even_thou I have it on_my packages.json_defined.
.state('signup-facebook', {
   _  _ _  _url: '/students/signup',
    _  _    templateUrl: MODULE_PATH_+_'become/authentication/signup/connect-facebook.client.view.html',
  ___ _  __ controller:_'StudentAuthenticationController',
_     __    controllerAs: 'StudentAuthentication',
 _   __   _ data: {
  _     _ _ _   step: 1,
      _     _   animate:_true,
 __  __ _      _css: cssModules.students.concat(cssModules.users),_// This line of code showing_error
   __     _     cssModuleName:'students'
_    ___    }
_     _ })

I just_dont understand why this is not working.
Here_you_have the full error that Chrome_displays:

Uncaught_Error: [$injector:modulerr] Failed to instantiate module
__coderstrust_due to: Error: [$injector:modulerr] Failed_to instantiate
  module students due_to: TypeError: Cannot read property 'concat' of
  undefined
_  _  at config (http://localhost:3000/modules/students/client/config/students.become.client.routes.js:23:45)
___   at Object.invoke (http://localhost:3000/lib/angular/angular.js:4708:19)
    _ at_runInvokeQueue (http://localhost:3000/lib/angular/angular.js:4601:35)
 _    at http://localhost:3000/lib/angular/angular.js:4610:11
    _ at forEach (http://localhost:3000/