Top "Angularjs-controller" questions

The AngularJS controller exposes the data that is to be displayed into the HTML view.

Load controller dynamically based on route group

Is it possible to load a controller, it's js file, and a template dynamically based on a route group? Psuedo …

angularjs angularjs-controller angular-routing
Call controller function from service in angularjs

I am using socket.io to enable chat in my app and i am using a service SocketService to perform …

angularjs events angularjs-service angularjs-controller angular-broadcast
Angular-ui bootstrap modal without creating new controller

plunk: http://plnkr.co/edit/85Wl5W If I use the $modalInstance on the same controller(modalController.js), without being …

angularjs modal-dialog angular-ui angular-ui-bootstrap angularjs-controller
AngularJS Drop down values change Dynamically

I have created two drop downs using AngularJS and appended data in them through the controllers. I want to change …

angularjs angularjs-controller
AngularJS: how to bind a constant object to a directive

I've created a directive with a binding using "scope". In some cases, I want to bind a constant object. For …

javascript angularjs angularjs-directive angularjs-scope angularjs-controller
AngularJs - Error: 10 $digest() iterations reached. Aborting

I am trying to create a Metro Tile type grid with Angular, to achieve this i want each of the …

javascript angularjs angularjs-controller
Assign multiple controller in $stateProvider.state

Probably this is an easy question for advanced angular users, but I did not find this issue somewhere well explained. …

angularjs angularjs-routing angularjs-controller angular-routing
Using a child controller from another module

I've defined a module and made it the main module for my app using the ng-app directive. I added two …

angularjs angularjs-controller
Using controller inside another controller in AngularJS

Why I can't bind to controller's variable inside second controller? <div ng-app="ManagerApp"> <div ng-controller="MainCtrl"> …

angularjs binding controller angularjs-controller angularjs-controlleras
Getting AngularJS Error: "[$rootScope:inprog] $digest already in progress" without a manual $apply

Other posts on this error always include someone trying to $apply without using a safe apply, but that's not the …

angularjs angularjs-service angularjs-controller angularjs-http