EDIT: I have found that the source of my original problem is that I am using custom directives, which others seem to have encountered an issue with, but none of the recommended solutions are working for me. Are there any suggestions out there for how to make a custom directive appear in the emulator (or, more importantly, on the iphone).
Here is what I have tried. None of this has worked.
- Moving the directives and controllers into the same file
- Changing element directives to attribute directives (i.e
<div my-directive></div>instead of
- Adding the CSS
display: blockto my element directives
<ion-view><ion-content>tags around the directives, both within the directive templates, and then outside of the templates around the directives themselves in the parent templates.
Any other suggestions greatly appreciated. My original post is below.
Hello! I have been building my app by using ionic serve to test it in the browser, where it works just fine, but when I tried running
ionic build ios
ionic emulate ios
a large portion of the application (the entire grid) is missing. I’m not sure where to start looking for bugs with this and would love some advice!
The only thing I can think of is that the part that isn’t showing up in emulate is an angular directive… but again it works in the browser.
Here is the project on github, thanks for any suggestions!