Redian新闻
>
Angular 1.x: How 1 controller load different partial view ?
avatar
s*w
2
usually in your app route, 1 controller corresponds to 1 partial view.
Now in node.js side, if no license, i want the partial view to load a
different page.
Any good sample ?
Thanks !
avatar
t*e
3
in-order,每visit一个节点的时候比较是否大于前一个节点

【在 z*f 的大作中提到】
: 如题
avatar
c*e
4
what license?

【在 s*****w 的大作中提到】
: usually in your app route, 1 controller corresponds to 1 partial view.
: Now in node.js side, if no license, i want the partial view to load a
: different page.
: Any good sample ?
: Thanks !

avatar
z*f
5
那我做对了,呵呵
紧张得出了一身汗。。。结结巴巴的
搞论文,好久没面试了
avatar
s*w
6
oh, our software needs license to run, so the logic is to check license 1st
when you click button1.
if yes, do to partial view button1.html.
if no, redirect to license page.

【在 c*********e 的大作中提到】
: what license?
avatar
C*g
7
Service side cannot control your navigation if your request is through AJAX.
You will have to do the redirect with Angular (at client side).
avatar
c*e
8
server side用的什么语言?

【在 s*****w 的大作中提到】
: usually in your app route, 1 controller corresponds to 1 partial view.
: Now in node.js side, if no license, i want the partial view to load a
: different page.
: Any good sample ?
: Thanks !

avatar
s*w
9
node.js

【在 c*********e 的大作中提到】
: server side用的什么语言?
avatar
s*w
10
我是这么做的,但想找个最正确的例子

AJAX.

【在 C********g 的大作中提到】
: Service side cannot control your navigation if your request is through AJAX.
: You will have to do the redirect with Angular (at client side).

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。