How to get store object in ember 2.0.2 in application initializer


#1

I want to preload store with data in application initialize. I followed few tutorial about how to do it. Every example it is mentioned to use:

container.lookup function

But, i am getting folowing error:

container.lookup is not a function

Versions:

Ember : 2.0.2

Ember Data : 2.0.0

jQuery : 1.11.3

Thanks