InAppBrowser Help

How do i get inappbrowser working thru ionic package ? I had it working with phonegap, but i really need it to work with ionic package. Currently it opens the url , but without any back button or any options working. If i ionic build ios, and run it on my iphone everything works fine. its when i package the app is when it stops working.