如何制作Angularjs嵌套路由? [英] How to make Angularjs nested routes?

查看:59
本文介绍了如何制作Angularjs嵌套路由?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是角色新手,我想知道angularjs是否支持像emberjs这样的嵌套路线我的意思是这样的路线: myappurl /#/ company /:company_id / department /:department_id

I am new to angular, I want to know if angularjs supports nested routes like emberjs I mean routes like this: myappurl/#/company/:company_id/department/:department_id

推荐答案

根据文件中给出的例子: https://docs.angularjs.org/api/ngRoute/directive/ngView 。是的,Angularjs支持它。

According to the example given in the document: https://docs.angularjs.org/api/ngRoute/directive/ngView. Yes, Angularjs supports it.

这篇关于如何制作Angularjs嵌套路由?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆