0

I am facing a strange angular js error. I am building an angular app. I am not very much proficient in angular. However I have successfully created some complex app. Now I am having a error in the browser console.

I can't understand the error a bit. The error shows stackFrame.js. But in my project there is no such js and I have searched web about it and I could not find any thing and the error is very fragile also. Once the error appears all angular activities are not working any more.

I can only attach the screen shot and the 'question_set.js (line 249)' is my code and on that line I have used $scope.$apply().

One more thing I would like to say that I used jquery ajax instead of angular http service. Because In yii2 the angular http does not populate the post data properly. I only can provide the screen shot.

The error which I get in my browser console. And I don't know what is the error about href is null

Thanks in advance. If anyone and kindly give any clue. Specially the angular masters.

5
  • 4
    Can you add some code? Commented Sep 22, 2015 at 8:22
  • 3
    I think href is null Commented Sep 22, 2015 at 8:27
  • @AbhisekMalakar how we suggest any answer to your question if we don't have any code to see. There could be some minor problem you can post the code and then people in here could help you better. Commented Sep 22, 2015 at 8:30
  • @Jai Yes, Actually the code is huge. And I think what to post. Can I post my complete js file? Commented Sep 22, 2015 at 8:32
  • use e.g. jsfiddle to create an example which represents your problem. Commented Sep 22, 2015 at 9:09

1 Answer 1

0

The error "href is null" seems to be a bug in Firebug according to this SO-post: AngularJS doesn't show specific errors in the Firebug console anymore . The error is hiding an actual error in your code, but you can't see it because of the bug in Firebug. Try the default developer tools in Firefox or try another browser to find out what your actual error is.

Sign up to request clarification or add additional context in comments.

1 Comment

Thanks. I will try and let you know. And if it works , it will be a great help

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.