由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Angular 1.x: How 1 controller load different partial view ?
相关主题
讨论node/angular route的error handlingAngularJS 2.0有点作妖儿啊
HTML+AJAX+JSON的话,前端用什么框架或者库比较好?除了model view controller (mvc)这种pattern还有什么pattern流行?
简单的web app用什么语言?angular rest是应该用$http还是$resource?
看来语言必须有google的endorsement啊Angular放弃service直接用controller如何
node.js, express, sails, angularjs在一起做project,折磨人啊no partial specialize function templates?
求教前端大神 JqueryExcel Control得问题
请问大牛,ajax这个东东过时了吗?java script哪个framework比较好用?
help on php for dynamic dependent list box (转载)对dart各位有什么看法?
相关话题的讨论汇总
话题: partial话题: angular话题: view话题: controller话题: load
进入Programming版参与讨论
1 (共1页)
s*****w
发帖数: 1527
1
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 !
c*********e
发帖数: 16335
2
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 !

s*****w
发帖数: 1527
3
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?
C********g
发帖数: 1548
4
Service side cannot control your navigation if your request is through AJAX.
You will have to do the redirect with Angular (at client side).
c*********e
发帖数: 16335
5
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 !

s*****w
发帖数: 1527
6
node.js

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

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).

1 (共1页)
进入Programming版参与讨论
相关主题
对dart各位有什么看法?node.js, express, sails, angularjs在一起做project,折磨人啊
现在来看backbone和angular哪个更有前途呢?求教前端大神 Jquery
来看看狗家的传统请问大牛,ajax这个东东过时了吗?
现在MEAN stack很流行吗?help on php for dynamic dependent list box (转载)
讨论node/angular route的error handlingAngularJS 2.0有点作妖儿啊
HTML+AJAX+JSON的话,前端用什么框架或者库比较好?除了model view controller (mvc)这种pattern还有什么pattern流行?
简单的web app用什么语言?angular rest是应该用$http还是$resource?
看来语言必须有google的endorsement啊Angular放弃service直接用controller如何
相关话题的讨论汇总
话题: partial话题: angular话题: view话题: controller话题: load