fix($ionicPopup): make it work if jquery is included
fix($ionicPopup): make it work if jquery is included

Closes #1027

michaellourenco/ionic,leeric92/ionic,sitacote/ionic-across,thiagofelix/ionic,ahmadawais/ionic,javascriptit/ionic,agyrafa/ionic,bankonme/ionic,sloops77/ionic,SaadBinShahid/ionic,buiphu/ionic,jgw96/ionic,zyaboutblank/ionic,caiiiycuk/ionic,bewebltd/ionic,AmberWhiteSky/ionic,SobolevLexa/ionic,brant-hwang/ionic,lazamar/ionic,KholofeloMoyaba/atajo-ui,openbizgit/ionic,youprofit/ionic,DiZyStudio/ionic,sitacote/ionic-across,AlphaStaxLLC/ionic,shazhumao/ionic,TakayukiSakai/ionic,fangjing828/ionic,100goals/ionic,AppGyver/ionic,MeteorPackaging/ionic,tkh44/ionic,WingGao/ionic,DiZyStudio/ionic,jgw96/ionic,angrilove/ionic,vladipus/ionic,EricCheung3/ionic,r14r-work/fork_ionic_master,astagi/ionic,johnli388/ionic,asfandiyark7/ionic,rreinold/FitnessDashboard_IonicApp,possan/ionic,ViniciusAugusto/ionic,uidoyen/ionic,VinceOPS/ionic,angrilove/ionic,eaglesjava/ionic,Testoni/ionic,chrisbautista/ionic,jeremyrussell/ionic,envistaInteractive/ionic,mingming1986/ionic,blueElix/ionic,Testoni/ionic,thompsonemerson/ionic,SaadBinShahid/ionic,MJefferson/ionic,Niades/ionic,xuyuanxiang/ionic,janij/ionic,mhartington/ionic,sitacote/ionic-across,lazamar/ionic,MartinMa/ionic,MartinMa/ionic,sitexa/ionic,amitparrikar/ionic,willshen/ionic,lutrosis81/manup-app,timtimUp/ionic,MJefferson/ionic,zittix/ionic,blueElix/ionic,jamesdixon/ionic,zhengqiangzi/ionic,zyaboutblank/ionic,gyx8899/ionic,pod4g/ionic,htc550605125/ionic,ViniciusAugusto/ionic,GhostGroup/ionic,TakayukiSakai/ionic,JackieLin/ionic,janglednerves/ionic,janglednerves/ionic,htc550605125/ionic,janglednerves/ionic,freedomdebug/ionic,Flllexa/ionic,xzyfer/ionic,Xeeshan94/ionic,PaperMonster/ionic,pod4g/ionic,xzyfer/ionic,contigo/ionic,vjrantal/ionic,glustful/ionic,Jeremy017/ionic,janij/ionic,agyrafa/ionic,nelsonsozinho/ionic,kylezhang/ionic,nelsonsozinho/ionic,DurgaprasadPati/ionic,Nalinc/ionic,cbmeeks/ionic,AmberWhiteSky/ionic,SaadBinShahid/ionic,leerduo/ionic,r14r-work/fork_ionic_master,hanmichael/ionic,xuyuanxiang/ionic,abcd-ca/ionic,rreinold/FitnessDashboard_IonicApp,shazhumao/ionic,ddddm/ionic,leejeap/ionic,Gregcop1/ionic,leeric92/ionic,r14r/fork_ionic_master,pargatsingh-webklabs/ionic,hanmichael/ionic,kylezhang/ionic,thebigbrain/ionic,r14r/fork_ionic_master,LawrenceHan/ionic,JsonChiu/ionic,staney7/ionic,shazhumao/ionic,thompsonemerson/ionic,angrilove/ionic,cleor41/meteor-ionic,uus169/ionic,ngonzalvez/ionic,zhonggaoyong/ionic,jeremyrussell/ionic,blueElix/ionic,jvkops/ionic,jtomaszewski/ionic,xuyuanxiang/ionic,zhengqiangzi/ionic,huangsen0912/ionic,felquis/ionic,cesarmarinhorj/ionic,taraszerebecki/ionic,hotarzhang/ionic,n0b0dy897/ionic,Jandersolutions/ionic,oabc124/ionic,NandoKstroNet/ionic,KholofeloMoyaba/atajo-ui,yanzhihong23/ionic-nono,possan/ionic,5amfung/ionic,jango2015/ionic,Kryz/ionic,urish/ionic,q310550690/ionic,sloops77/ionic,EricCheung3/ionic,astagi/ionic,asfandiyark7/ionic,yalishizhude/ionic,q310550690/ionic,Sourazou/login,NandoKstroNet/ionic,Baskmart/ionic,mingming1986/ionic,jeremyrussell/ionic,954053260/ionic,emonidi/ionic,nelsonsozinho/ionic,leobetosouza/ionic,ralic/ionic,bankonme/ionic,tkh44/ionic,gyx8899/ionic,cesarmarinhorj/ionic,rreinold/FitnessDashboard_IonicApp,zhiqiangli520210/ionic,freedomdebug/ionic,felipealbuquerq/ionic,jamesdixon/ionic,ctetreault/ionic,cnbin/ionic,mallzee/ionic,felquis/ionic,microlv/ionic,x303597316/ionic,uidoyen/ionic,ctetreault/ionic,TakayukiSakai/ionic,amitparrikar/ionic,lazamar/ionic,mingming1986/ionic,cbmeeks/ionic,envistaInteractive/ionic,sitexa/ionic,awhedbee22/ionic,hotarzhang/ionic,studio666/ionic,uus169/ionic,ptarjan/ionic,MarcBT/ionic,jgw96/ionic,puurinternet/ionic,ptarjan/ionic,EricCheung3/ionic,Xeeshan94/ionic,beauby/ionic,fjzdjd/ionic,edwardchor/ionic,open-anesthesia/ionic,bewebltd/ionic,AmberWhiteSky/ionic,puurinternet/ionic,buiphu/ionic,GeorgeMe/ionic,MeteorPackaging/ionic,Nalinc/ionic,amitparrikar/ionic,SobolevLexa/ionic,ezc/ionic,mhartington/ionic,PressReader/ionic,edparsons/ionic,treejames/ionic,100goals/ionic,AndyShiTw/ionic,jomaf1010/ionic,jtomaszewski/ionic,Drok1015/ionic,nraboy/ionic,daew823/ionic,jasdeepkhalsa/ionic,asfandiyark7/ionic,contigo/ionic,glustful/ionic,VinceOPS/ionic,CNVCrew/ionic,ralic/ionic,envistaInteractive/ionic,AndyShiTw/ionic,sitexa/ionic,cleor41/meteor-ionic,oabc124/ionic,zhengqiangzi/ionic,lewisl9029/ionic,microlv/ionic,trevorgrayson/ionic,5amfung/ionic,xzyfer/ionic,jgw96/ionic,staney7/ionic,trevorgrayson/ionic,MarcBT/ionic,eyalish/ionic,CNVCrew/ionic,mingming1986/ionic,ddddm/ionic,vjrantal/ionic,fangjing828/ionic,n0b0dy897/ionic,microlv/ionic,anongtech/ionic,GhostGroup/ionic,open-anesthesia/ionic,WingGao/ionic,studio666/ionic,janij/ionic,eaglesjava/ionic,ptarjan/ionic,promactkaran/ionic,guaerguagua/ionic,jango2015/ionic,edparsons/ionic,edwardchor/ionic,abcd-ca/ionic,hotarzhang/ionic,willshen/ionic,AmberWhiteSky/ionic,ddddm/ionic,puurinternet/ionic,Gregcop1/ionic,lutrosis81/manup-app,VinceOPS/ionic,nraboy/ionic,Gregcop1/ionic,Sourazou/login,deer-hope/ionic,jayvi/ionic,DiZyStudio/ionic,Testoni/ionic,michaellourenco/ionic,oabc124/ionic,pod4g/ionic,PaperMonster/ionic,Niades/ionic,JackieLin/ionic,leejeap/ionic,Drok1015/ionic,baiwyc119/ionic,r14r-work/fork_ionic,ralic/ionic,RodrigoIbarraSanchez/ionic,NandoKstroNet/ionic,zittix/ionic,baiwyc119/ionic,MrChen2015/ionic,cleor41/meteor-ionic,michaellourenco/ionic,yanzhihong23/ionic-nono,PressReader/ionic,MeteorPackaging/ionic,qzapaia/ionic,jianganglu/ionic,huangsen0912/ionic,jvkops/ionic,q310550690/ionic,AlphaStaxLLC/ionic,eyalish/ionic,laispace/ionic,JsonChiu/ionic,edwardchor/ionic,treejames/ionic,ezc/ionic,hanmichael/ionic,brant-hwang/ionic,jayvi/ionic,DurgaprasadPati/ionic,yurtaev/ionic,daew823/ionic,Niades/ionic,jianganglu/ionic,ctetreault/ionic,GeorgeMe/ionic,edparsons/ionic,buiphu/ionic,PaperMonster/ionic,jasdeepkhalsa/ionic,freedomdebug/ionic,r14r/fork_ionic_master,contigo/ionic,contigo/ionic,fanhaich/ionic,hanmichael/ionic,treejames/ionic,Baskmart/ionic,envistaInteractive/ionic,studio666/ionic,yurtaev/ionic,eric-stanley/ionic,amitparrikar/ionic,5amfung/ionic,leerduo/ionic,xuyuanxiang/ionic,jasdeepkhalsa/ionic,felipealbuquerq/ionic,AppGyver/ionic,LawrenceHan/ionic,abcd-ca/ionic,100goals/ionic,zyaboutblank/ionic,MrChen2015/ionic,DurgaprasadPati/ionic,youprofit/ionic,deer-hope/ionic,Urigo/meteor-ionic,leobetosouza/ionic,SobolevLexa/ionic,SaadBinShahid/ionic,jianganglu/ionic,CNVCrew/ionic,MrChen2015/ionic,chinakids/ionic,CNVCrew/ionic,cleor41/meteor-ionic,treejames/ionic,zhengqiangzi/ionic,jee1mr/meteor-ionic,zittix/ionic,Tetpay/ionic,lutrosis81/manup-app,guaerguagua/ionic,AndyShiTw/ionic,open-anesthesia/ionic,ezc/ionic,954053260/ionic,r14r-work/fork_ionic,hectoruch/ionic,sitexa/ionic,Xeeshan94/ionic,Nalinc/ionic,femotizo/ionic,jomaf1010/ionic,astagi/ionic,yurtaev/ionic,AndyShiTw/ionic,urish/ionic,lewisl9029/ionic,pargatsingh-webklabs/ionic,zhonggaoyong/ionic,JackieLin/ionic,zhiqiangli520210/ionic,ihongcn/ionic,MartinMa/ionic,trevorgrayson/ionic,LawrenceHan/ionic,chrisbautista/ionic,zhiqiangli520210/ionic,x303597316/ionic,caiiiycuk/ionic,yanzhihong23/ionic-nono,KholofeloMoyaba/atajo-ui,5amfung/ionic,janglednerves/ionic,chrisbautista/ionic,PressReader/ionic,ezc/ionic,RodrigoIbarraSanchez/ionic,jee1mr/meteor-ionic,felipealbuquerq/ionic,jee1mr/meteor-ionic,brant-hwang/ionic,ahmadawais/ionic,Flllexa/ionic,Jeremy017/ionic,baiyanghese/ionic,taraszerebecki/ionic,Baskmart/ionic,hotarzhang/ionic,edwardchor/ionic,ihongcn/ionic,bankonme/ionic,htc550605125/ionic,femotizo/ionic,willshen/ionic,MeteorPackaging/ionic,fjzdjd/ionic,buiphu/ionic,javascriptit/ionic,csbz17027/ionic,youprofit/ionic,cbmeeks/ionic,AlphaStaxLLC/ionic,Niades/ionic,Jandersolutions/ionic,urish/ionic,janglednerves/ionic,johnli388/ionic,jtomaszewski/ionic,csbz17027/ionic,promactkaran/ionic,beauby/ionic,guaerguagua/ionic,bewebltd/ionic,vjrantal/ionic,cnbin/ionic,uus169/ionic,openbizgit/ionic,MrChen2015/ionic,wkrueger/ionic,MJefferson/ionic,thebigbrain/ionic,sthashree/ionic,yalishizhude/ionic,astagi/ionic,awhedbee22/ionic,emonidi/ionic,jamesdixon/ionic,thompsonemerson/ionic,javascriptit/ionic,hectoruch/ionic,GeorgeMe/ionic,johnli388/ionic,jamesdixon/ionic,eric-stanley/ionic,lewisl9029/ionic,possan/ionic,wkrueger/ionic,angrilove/ionic,leobetosouza/ionic,zyaboutblank/ionic,possan/ionic,yanzhihong23/ionic-nono,leobetosouza/ionic,yalishizhude/ionic,sloops77/ionic,bankonme/ionic,zittix/ionic,r14r-work/fork_ionic,qzapaia/ionic,mallzee/ionic,RodrigoIbarraSanchez/ionic,thiagofelix/ionic,Tetpay/ionic,gyx8899/ionic,oneillsp96/ionic,baiyanghese/ionic,uus169/ionic,fangjing828/ionic,trevorgrayson/ionic,ctetreault/ionic,q310550690/ionic,JsonChiu/ionic,RodrigoIbarraSanchez/ionic,agyrafa/ionic,lazamar/ionic,janij/ionic,sthashree/ionic,VinceOPS/ionic,Xeeshan94/ionic,blueElix/ionic,954053260/ionic,EricCheung3/ionic,Flllexa/ionic,celsoyh/ionic,thiagofelix/ionic,jeremyrussell/ionic,pod4g/ionic,zhiqiangli520210/ionic,thebigbrain/ionic,jgw96/ionic,jomaf1010/ionic,DurgaprasadPati/ionic,leejeap/ionic,jango2015/ionic,qzapaia/ionic,guaerguagua/ionic,r14r-work/fork_ionic_master,laispace/ionic,leerduo/ionic,csbz17027/ionic,staney7/ionic,glustful/ionic,ahmadawais/ionic,lewisl9029/ionic,eyalish/ionic,r14r-work/fork_ionic,felipealbuquerq/ionic,AppGyver/ionic,qzapaia/ionic,ngonzalvez/ionic,youprofit/ionic,cbmeeks/ionic,Jeremy017/ionic,taraszerebecki/ionic,willshen/ionic,promactkaran/ionic,NandoKstroNet/ionic,deer-hope/ionic,x303597316/ionic,awhedbee22/ionic,studio666/ionic,r14r/fork_ionic_master,zhonggaoyong/ionic,n0b0dy897/ionic,asfandiyark7/ionic,brant-hwang/ionic,100goals/ionic,MJefferson/ionic,yalishizhude/ionic,oneillsp96/ionic,GhostGroup/ionic,TakayukiSakai/ionic,caiiiycuk/ionic,mhartington/ionic,baiwyc119/ionic,x303597316/ionic,n0b0dy897/ionic,Kryz/ionic,SobolevLexa/ionic,jango2015/ionic,microlv/ionic,JoeyAndres/meteoric-sass,chinakids/ionic,hectoruch/ionic,lutrosis81/manup-app,ahmadawais/ionic,puurinternet/ionic,emonidi/ionic,daew823/ionic,jvkops/ionic,Jeremy017/ionic,tkh44/ionic,bewebltd/ionic,ddddm/ionic,Nalinc/ionic,timtimUp/ionic,pargatsingh-webklabs/ionic,MarcBT/ionic,chinakids/ionic,kylezhang/ionic,GhostGroup/ionic,ViniciusAugusto/ionic,fanhaich/ionic,KholofeloMoyaba/atajo-ui,r14r-work/fork_ionic_master,LawrenceHan/ionic,wkrueger/ionic,shazhumao/ionic,Kryz/ionic,nelsonsozinho/ionic,anongtech/ionic,vladipus/ionic,deer-hope/ionic,ngonzalvez/ionic,timtimUp/ionic,daew823/ionic,javascriptit/ionic,csbz17027/ionic,Gregcop1/ionic,jomaf1010/ionic,openbizgit/ionic,ralic/ionic,oneillsp96/ionic,ngonzalvez/ionic,agyrafa/ionic,yurtaev/ionic,uidoyen/ionic,ihongcn/ionic,thompsonemerson/ionic,Kryz/ionic,jvkops/ionic,jianganglu/ionic,johnli388/ionic,openbizgit/ionic,leerduo/ionic,promactkaran/ionic,anongtech/ionic,huangsen0912/ionic,eaglesjava/ionic,rreinold/FitnessDashboard_IonicApp,DiZyStudio/ionic,GeorgeMe/ionic,PaperMonster/ionic,jayvi/ionic,leeric92/ionic,Drok1015/ionic,oneillsp96/ionic,cesarmarinhorj/ionic,jayvi/ionic,fanhaich/ionic,fanhaich/ionic,freedomdebug/ionic,Testoni/ionic,femotizo/ionic,emonidi/ionic,sthashree/ionic,cesarmarinhorj/ionic,xzyfer/ionic,thiagofelix/ionic,fangjing828/ionic,felquis/ionic,Baskmart/ionic,jasdeepkhalsa/ionic,michaellourenco/ionic,uidoyen/ionic,leeric92/ionic,954053260/ionic,eyalish/ionic,thebigbrain/ionic,fjzdjd/ionic,pargatsingh-webklabs/ionic,Drok1015/ionic,staney7/ionic,JsonChiu/ionic,taraszerebecki/ionic,cnbin/ionic,huangsen0912/ionic,celsoyh/ionic,ViniciusAugusto/ionic,awhedbee22/ionic,sloops77/ionic,baiwyc119/ionic,jee1mr/meteor-ionic,anongtech/ionic,ihongcn/ionic,zhonggaoyong/ionic,ptarjan/ionic,caiiiycuk/ionic,timtimUp/ionic,kylezhang/ionic,cnbin/ionic,femotizo/ionic,MartinMa/ionic,celsoyh/ionic,sthashree/ionic,gyx8899/ionic,glustful/ionic,tkh44/ionic,Sourazou/login,AlphaStaxLLC/ionic,JackieLin/ionic,hectoruch/ionic,open-anesthesia/ionic,MarcBT/ionic,chrisbautista/ionic,leejeap/ionic