Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Requests are going twice in ionic/angularjs  RSS feed

 
Rathan Chanti
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting duplicate Http requests for all the controllers and services. The following is one of the service I have created using ionic. I am not getting what's causing duplicate request in my code.

**login.html**



**app.js**

  

**contoller**



**service**
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!