Looks like my array needs to go into a factory, then the other modules will 
call it, like in this fiddle:

http://jsfiddle.net/jmcooper/C5gJr/

Have to figure out how a partial.html will be populated by it.

On Monday, May 4, 2015 at 9:59:34 AM UTC-7, Steve Husting wrote:
>
> OK, I'll go figure out the services then and see how to link them up. 
> Really appreciate this! 
>
> On Monday, May 4, 2015 at 8:40:22 AM UTC-7, Sander Elias wrote:
>>
>> Hi Steve,
>>
>> Have a loko at this: http://plnkr.co/edit/xenR5b4GhbyTXLYf6QkB?p=preview
>> The x.xxx part does not work yet. The scope in your partial does not 
>> know about your names array. You should keep/get info like that in a 
>> service, so you can inject it everywhere you need it.
>>
>> Does that help a bit?
>> Regards
>> Sander
>> ​
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to