I'm tring to build a rss reader for android, ios platforms with angularjs.
It works, but it reads two times each resource.
app.js index.html and home.html codes
How can I fix it? Thanks..
I'm tring to build a rss reader for android, ios platforms with angularjs.
It works, but it reads two times each resource.
app.js index.html and home.html codes
How can I fix it? Thanks..
You need to remove ng-controller='HomeCtrl' from your home.html which is loading your controller twice, As it already loads the controller from route you need not need to mention it on html.
home.html
<header class="bar bar-nav">
..header section..
</header>
<div class="content"> <!--removed `ng-controller='HomeCtrl'` from here-->
..markup here..
</div>