So I'm still very new to developing in Ionic/Cordova/AngularJS.
Right now I have 2 controllers, "groups" and "events". My goal is to create a group and to create an event on seperate pages. Once a group is created, I want users to be able to select this group in their "create event" screen. However, I just can't get my groups to show up. I thought a simple ng-controller option in my HTML option field would do it but that doesn't seem to be possible. I tried putting everything in the same controller and that works, but that easily becomes very chaotic. Would anyone be able to tell me how I can achieve this? Thanks!
<label class="item item-input item-select">
<div class="input-label">
Group
</div>
<select ng-model="event.groupname"> <!-- this is in my eventscontroller-->
<option ng-repeat="group in groups">{{group.name}}</option> <!-- these groups are in GroupsController, this doesn't work -->
</select>
</label>