Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4836

Can I inject service property?

$
0
0

@tangmonk wrote:

Just like:

Ember.inject('controller', 'currentUser', 'service:session.data.currentUser')

So I can use currentUser directly in template

Posts: 4

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4836

Trending Articles