dimanche 1 mars 2015

angularjs app give errors whichout refrence to line


The next is an example of error i get in console once app runs. when i see this i kind tend to cry because i know that i'm about to undo all changes i did lately to see which line is doing that.. and this is painful.



Error: parent is null .after@http://localhost/mri/front/assets/js/vendor/angular/angular.js:3168:7 JQLite.prototype[name]@http://localhost/mri/front/assets/js/vendor/angular/angular.js:3252:17 $AnimateProviderhttp://localhost/mri/front/assets/js/vendor/angular/angular.js:4671:17 ngIncludeWatchAction/http://localhost/mri/front/assets/js/vendor/angular/angular.js:22224:17 publicLinkFn@http://localhost/mri/front/assets/js/vendor/angular/angular.js:6956:29 createBoundTranscludeFn/boundTranscludeFn@http://localhost/mri/front/assets/js/vendor/angular/angular.js:7096:1 controllersBoundTransclude@http://localhost/mri/front/assets/js/vendor/angular/angular.js:7756:18 ngIncludeWatchAction/<@http://localhost/mri/front/assets/js/vendor/angular/angular.js:22222:27 processQueue@http://localhost/mri/front/assets/js/vendor/angular/angular.js:13189:27 scheduleProcessQueue/<@http://localhost/mri/front/assets/js/vendor/angular/angular.js:13205:27 $RootScopeProvider/this.$gethttp://localhost/mri/front/assets/js/vendor/angular/angular.js:14401:16 $RootScopeProvider/this.$gethttp://localhost/mri/front/assets/js/vendor/angular/angular.js:14217:15 $RootScopeProvider/this.$gethttp://localhost/mri/front/assets/js/vendor/angular/angular.js:14506:13 done@http://localhost/mri/front/assets/js/vendor/angular/angular.js:9659:36 completeRequest@http://localhost/mri/front/assets/js/vendor/angular/angular.js:9849:7 requestLoaded@http://localhost/mri/front/assets/js/vendor/angular/angular.js:9790:1


return logFn.apply(console, args);



is there an easy way i can find out which line of my code that made the problem ?





Aucun commentaire:

Enregistrer un commentaire