How do I get rid of this?


Very new to ionic, and I love it so far…

i am following the project created through ‘sidemenu’, but for some reason, I am running into this in the Chrome…

Any help is appreciated.

TypeError: Cannot read property ‘name’ of null
at http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:37778:79
at nodeLinkFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13694:13)
at compositeLinkFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13100:15)
at nodeLinkFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13688:24)
at compositeLinkFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13104:15)
at publicLinkFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13009:30)
at boundTranscludeFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13123:21)
at controllersBoundTransclude [as $transclude] (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13715:18)
at (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:27559:16)
at nodeLinkFn (http://localhost:8080/solution/iohandheld/lib/ionic/js/ionic.bundle.js:13694:13) ionic.bundle.js:16899
f {$promise: Object, $resolved: false, $get: function, $save: function, $query: function…}


Hmm, I just created a new side menu project and it this didn’t come up. Can you post a sample or codepen?


I am sorry. I started to modify the content…

I am guessing I am doing something wrong… The odd thing is, if I just refresh, the above error disappears.

It basically happens sporadically…


Sounds like a DI issue if I had to guess, Somewhere in your controllers, you using name but not injecting in your controller.


This is my controller…

.controller('ProcessCtrl', function ($scope, ProcessService) {
    ProcessService.query(function(process) {
        $scope.process = process;

I don’t have any reference to ‘name’…