Linked Questions

0 votes
2 answers
1k views

I just recently build a web based app with angular. I really love how angular handle Model-View-Controller, so I build my controller to handle button click event, datepicker changed event, etc while ...
DennyHiu's user avatar
  • 6,270
3 votes
1 answer
317 views

I have this code in app.js, and work fine. I want to put each controller in a diferent file, but if put the controller in other file. I recived the message: Argument 'visorController' is not a ...
Quethzel Diaz's user avatar
24 votes
4 answers
25k views

I'm trying to split my controllers into multiple files, but when i try to register them at my module im getting an error: groupcontroller.coffee app = angular.module('WebChat', []); app.controller '...
user1703761's user avatar
  • 1,104
9 votes
1 answer
4k views

My Angular application has a number of modals, and I have AngularUI to provide the modal directive. http://angular-ui.github.io/bootstrap/ So far I have several main controllers, and these are all ...
port5432's user avatar
  • 6,443
1 vote
1 answer
3k views

I'm building a practice app in Angular using Yeoman. I'm trying to keep my controllers in separate files. However, when going to my "register" route, it throws an error in Chrome dev tools: "Error:...
Brian Schroer's user avatar
2 votes
2 answers
2k views

I have a cross-platform enterprise app built using Onsen UI and AngularJS. However, the app is fast growing in size and is becoming confusing and difficult to manage. Up to now I have been able to ...
heyred's user avatar
  • 2,051
5 votes
2 answers
672 views

I try this solution https://stackoverflow.com/a/20087682/9246297 https://stackoverflow.com/a/34729515/9246297 and then I got this error GET http://localhost:8000/js/TaskController.js net::...
Nasser Ali Karimi's user avatar
0 votes
1 answer
3k views

I want to develop a site with main page that route to several other pages. All page will have their own app.js file with their own .controller for easy code management. pages.html <html ng-app="...
sooon's user avatar
  • 4,938
0 votes
2 answers
3k views

I've the same issues as in how-to-create-separate-angularjs-controller-files, but it seems to be a little bit more complicated: I want to separate my module declaration and the "MAIN-Controller" into ...
jeromerg's user avatar
  • 3,155
0 votes
2 answers
2k views

I am working on MVC4 with angular JS and using ng-include to call a partial view inside my main view. Issue comes when I am trying to click a button inside my partial view. I have two different ...
Rahul's user avatar
  • 1,110
2 votes
2 answers
1k views

I have a controller in a folder named controller at the root. I have view that I want to attach to the corresponding views when the route changes. I am using angular-ui-router. controllers/one.js ...
sham's user avatar
  • 777
1 vote
3 answers
2k views

I am trying to separate my controllers and services (previously all in my one app.js file) into separate js files. However I am getting a Uncaught TypeError: undefined is not a function from the first ...
user95227's user avatar
  • 1,973
1 vote
2 answers
451 views

I was following the answer posted for a similar question here: How to create separate AngularJS controller files? However I'm still not able to split my controllers into separate files. I've started ...
Legion's user avatar
  • 3,529
0 votes
2 answers
743 views

I know this have been asked in the past in the following questions: How to create separate AngularJS controller files? Separate AngularJS Controllers Into Separate Files But however am not being ...
Kheshav Sewnundun's user avatar
1 vote
1 answer
947 views

I am trying to add userName use AngularJs into Sharepoint. Also, i should have a feature that I should view all the userName from SharePoint list. But i keeping getting error says '_spPageContextInfo ...
user6428015's user avatar

15 30 50 per page