All Questions
Tagged with angular.js mvc
6 questions
2
votes
1
answer
121
views
AngularJS - Making Factory and Controllers DRY
The following code works, but:
The service makes multiple API calls, the functions are very similar with a lot of code duplication. The same is true for the controllers- very similar code with only ...
10
votes
1
answer
225
views
Baseball player statistics controller
I'm somewhat new to JavaScript and AngularJS, and read in Doug Crockford's book that hoisted function declarations can lead to issues. If you have any pointers on how to structure my file, those would ...
4
votes
1
answer
6k
views
MVC partial views and AngularJS modules
I am using MVC+Angular. In MVC, I created partial views for search, listing, etc. I show them using:
...
3
votes
2
answers
113
views
MVC and Services
I'm writing and app in AngularJS and am learning about writing RESTful services. I also want to make sure that I'm understanding the MVC pattern correctly. In my code, this is my take on how I'm ...
5
votes
1
answer
12k
views
Basic and simple view, add, edit and delete functionality
I want to know what needs to improve with my application. Maybe there is a better way instead of what I am using currently.
index.html:
...
3
votes
3
answers
56k
views
Creating a simple login with AngularJS
I'm brand new to AngularJS. I would like advice as to whether I'm approaching the design of a simple login section of an app built with Angular correctly.
The app consists of two view partials: login....