我正在使用带有子菜单的TAB构建页面,如下面的链接所示我使用ui-router来实现此目的。
http://plnkr.co/edit/ug4M0YoNyPmmpk4G1jmr?p=preview
最终用户界面如下所示:
Home Order Report
Step 1 Step 1
Step 2 Step 2
我可以加载标签内容,但无法弄清楚如何加载子菜单内容?
任何建议都会有所帮助。
由于
答案 0 :(得分:1)
创建/* Put this in the response function of your /TwilioApp-route */
$response = new Services_Twilio_Twiml();
$message = $_GET['say'];
$voice = $_GET['voice'];
$response->say($message);
$response->voice($voice);
echo $response;
文件,在dashboard.html
文件中添加dashboard.html
,在Order.html文件中添加<div ui-view class="ng-scope"></div>
。
由于您已经创建了三级嵌套,因此您应该在html文件的每个级别下都有<div ui-view class="ng-scope"></div>