# Why can't I import NavController and ViewController into Service or App?

**URL:** <https://forum.ionicframework.com/t/why-cant-i-import-navcontroller-and-viewcontroller-into-service-or-app/40999>\
**Category:** ionic-v3\
**Created:** [January 11, 2016, 9:37pm UTC](https://forum.ionicframework.com/t/why-cant-i-import-navcontroller-and-viewcontroller-into-service-or-app/40999 "2016-01-11T21:37:28Z")\
**Posts on this page:** 1\
**Showing post:** 17

<div class="post-metadata">

**Author:** ![mateus\_m\_luna](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mateus_m_luna/32/98180_2.png) [@mateus\_m\_luna](https://forum.ionicframework.com/u/mateus_m_luna)\
**Post date:** [March 11, 2016, 10:22pm UTC](https://forum.ionicframework.com/t/why-cant-i-import-navcontroller-and-viewcontroller-into-service-or-app/40999/17 "2016-03-11T22:22:20Z")

</div>

@praveenjp, my situation was similar to yours, I’ve solved using this post: [Cannot resolve all parameters error](https://forum.ionicframework.com/t/cannot-resolve-all-parameters-error/44969/7)?  
Notice that the parameter now it’s just “nav”, cause you’re calling the one returned by the get parameters()

---

_[View the full topic](https://forum.ionicframework.com/t/why-cant-i-import-navcontroller-and-viewcontroller-into-service-or-app/40999)._
