# Ionic common pitfalls

**URL:** <https://forum.ionicframework.com/t/ionic-common-pitfalls/14948>\
**Category:** ionic-v1\
**Created:** [December 31, 2014, 5:51pm UTC](https://forum.ionicframework.com/t/ionic-common-pitfalls/14948 "2014-12-31T17:51:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sagman](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sagman/32/8087_2.png) [@sagman](https://forum.ionicframework.com/u/sagman)\
**Post date:** [December 31, 2014, 5:51pm UTC](https://forum.ionicframework.com/t/ionic-common-pitfalls/14948/1 "2014-12-31T17:51:39Z")

</div>

Continuing the discussion from [How to create a splash screen](http://forum.ionicframework.com/t/how-to-create-a-splash-screen/11438/19):

> [@How to create a splash screen](https://forum.ionicframework.com/t/how-to-create-a-splash-screen/11438/19):
>
> I had problems to,  
> after a lot of messing around I found I did a number of things wrong:
> 
> These tips apply for a few issues I’ve had with plugins:
> 
> 1. make sure  
> ‘lib/ngCordova/dist/ng-cordova.min.js’  
> is \<b\>after\</b\>  
> ‘lib/ionic/js/ionic.bundle.js’
> 
> 2. make sure you haven’t removed ‘cordova.js’ and that it comes \<b\>after\</b\> the prior ones.  
> (I did for browser development but you need it for the emulator and mobile device).
> 
> 3. make sure you are inside the ready block:
> 
> 4. sometimes (especially the facebook plugin) you need to remove the platform and re add it (takes 5 seconds).
> 
> if a plugin gives you errors (like the facebook one):  
> a) remove the plugin first  
> b) then remove the platform  
> c) then add the platform  
> d) then add the plugin.
