All Questions
Tagged with angularjs-controlleras angularjs-service
3 questions
1
vote
2
answers
604
views
AngularJS - Data is not populating in table while using http service
I have a Web API which retrieves list of employees. Now when I call to $http service, I can get data from WebApi but it neither populated in table nor gives any error.
Note: I am using angular v1.5....
0
votes
0
answers
114
views
Make an object for angularJS controller using $resource (factory|service)?
My approach is using AngularJS Service instead of factory along the project. Now I want to build an object called MyData which should be used as array in angularJS controller, such as:
vm.datas= ...
1
vote
3
answers
698
views
Shared variables and multiple controllers AngularJS
I have multiple controllers on a small app I'm writing, and I have successfully shared a 'selected' variable between the controllers like so.
app.service('selectedEmployee', function () {
var ...