title: AOT compilation - forRoot and other func calls problems
body: <p>I get <code>"Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function, resolving symbol DeclarantModule"</code> error when trying to compile my app. This happens when a module has <code>forRoot</code> or <code>StoreModule.provideStore(rootReducer)</code> function calls.</p>
  
  <p>How to fix it? Why is this happens? I don't understand it I thought it is native angular 2 functions that import modules with configs.</p>