ionic-view

UI-Router Multiple Views Single Controller not work

泪湿孤枕 提交于 2019-11-26 21:26:55
问题 I would like to use one controller defined in views, but the $scope does not define anything. Is there a way to do this? Please share a simple example in order to understand. I have this index.html <body ng-app="ehc"> <h1>{{home}}+{{a}}+{{b}}</h1> <ion-side-menus enable-menu-with-back-views="false" delegate-handle="left"> <!-- Left menu --> <ion-side-menu side="left" is-enabled="true"> <ion-header-bar class="bar-stable">AAA</ion-header-bar> <ion-content> <div class="list"> <div class="item