0
votes
1answer
36 views

ngController method called twice

I've got an angularjs app with a nav bar inside my index.html page like that : <div class="navbar navbar-inverse navbar-fixed-top" ng-controller="NavCtrl"> <div ...
0
votes
2answers
45 views

How to set a model for a single view in Angular JS?

I've got a controller in Angular JS. In this controller i've got a $scope.users property : it's an array of users. This controller is used by two views: /users and /users/:id. I've seen that the ...
0
votes
0answers
37 views

Share data between controllers using permalinks?

I would like to share data between controllers using permalinks, rather than signals or factories. Given a single page application, with three controllers (Ctrl1, Ctrl2, Ctrl3), and a predefined ...
3
votes
1answer
76 views

Single page app, permalinks and ngView?

This is my current setup, with each column being represented by a controller: <navbar></navbar> [column1] [column2] [column3] <footer></footer> Additionally each column has ...
1
vote
1answer
83 views

angularjs Directive not reacting to attribute change

I have a chat directive that I use to place a chatroom in on the page. mod.directive('chat', function () { return { templateUrl: '/chat', replace: true, scope: { chatID:'@chat', ...
0
votes
1answer
100 views

AngularJS: service query returning zero result

my app.js looks like var app = angular.module('pennytracker', [ '$strap.directives', 'ngCookies', 'categoryServices' ]); app.config(function($routeProvider) { console.log('configuring ...
1
vote
1answer
165 views

AngularJS memory leak with ng-switch? Can someone solve this?

I've built a custom routing method for angularjs and I use this to control ng-switch within my app in order to create multi level deep linking. http://plnkr.co/edit/beAm3WRomMafKzx1SoSZ?p=preview ...
0
votes
1answer
1k views

AngularJS: Multiple views with routing without losing scope

I'm trying to implement a classic list/details UI. When clicking an item in the list, I want to display an edit form for that item while still displaying the list. I'm trying to work around Angular's ...
0
votes
1answer
45 views

How to show one item from array in angularjs?

So im writting front-end for one simple app, and im stuck on one thing. There is a news list page which should take user to single news page. All news are in one array, which is sitting in the news ...