inmagik / ionic-modal-select

Modal select for Ionic Framework
https://inmagik.github.io/ionic-modal-select
MIT License
174 stars 70 forks source link

Can't use the module #78

Closed ghost closed 8 years ago

ghost commented 8 years ago

Heya!

I just clone the repo, copied and added it to my index.html, as you can see.

Also have it declared here: angular.module('starter', ['ionic', 'starter.controllers', 'starter.services','anguFixedHeaderTable', 'ionic-modal-select'])

Then I made a controller like the example in http://codepen.io/bianchimro/pen/epYYQO?editors=1010 and tried to call it inside ion-content.

I'm getting this: screen shot 2016-11-14 at 2 29 20 pm

What am I doing wrong? Sorry cuz I'm newbie and thx a lot in advance.

bianchimro commented 8 years ago

hey, if you clone the repo you should use the js file found in the "dist" folder, seems like you're using the src one.

Let me know if this does this fix your problem.

regards Mauro

ghost commented 8 years ago

Yaaaaay!

It worked! Thanks a lot man!