2
votes
1answer
375 views

Length of Array returning “undefined”

I am building an application using AngularJS. I use Slim for handling web service in my application. I have a service like: angular.module('MyApp'). factory('MainPage', ...
0
votes
4answers
1k views

Cannot get simple push/splicing of array to work - AngularJS

Please have a look at the following Plunker project. I want to keep a list of items in a service which multiple controllers can access. In this example when you select a surname it will come up in ...