I got it to work! I had just forgotten about adding the FriendsService to 
the botstrap thingy... 
sorry about the noise. 
/Magnus

Den torsdag 20 augusti 2015 kl. 10:35:51 UTC+2 skrev Magnus Gudmundsson:
>
> Hi, 
>
> I also struggling with this one. 
> my Typescript  cmd for sublime goes like this:  "cmd": ["tsc.cmd", 
> "$file", "--watch", "-m","commonjs", "-t", "es5", 
> "--emitDecoratorMetadata", "--experimentalDecorators"],
> but it does no work. Pete, which of the Injectors did you end up using? 
>
> Regards
>
> Magnus
>
>
> Den torsdag 30 juli 2015 kl. 12:59:57 UTC+2 skrev Pete Moss:
>>
>> Thank you, Eric. I tried appInjector, viewInjector, componentServices, 
>> and hostInjector and nothing worked. I spent hours yesterday trying to 
>> puzzle it out. Then I discovered that I had not included 
>> --emitDecoratorMetadata in my Typescript 1.5 compiler settings. Aaargh. 
>> Once I did that, things worked fine. 
>>
>> On Wednesday, July 29, 2015 at 10:18:23 PM UTC-4, Eric Martinez wrote:
>>>
>>> Hey there Pete! 
>>>
>>> 'appInjector' was removed in alpha 30 (see 
>>> https://github.com/angular/angular/pull/2797)
>>>
>>> You should use 'viewInjector' instead if it is a component and 
>>> 'hostInjector' if it is a directive.
>>>
>>> Regards.
>>>
>>

-- 
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 angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to