weixin_33698043 2016-02-11 12:02 采纳率: 0%
浏览 24

Angular / ajax应用

I am new to angular js with some knowledge of javascript and jquery and ajax i am making one app that will have multiple user on it and when user click item form user list it will redirect to that particular user page without refreshing page..

Suppose we have multiple user like

user A, user B,user C and so on and when user A is selected it will open page of user A..

How can we do it by using angular Routes and all and fetch json from angular $http and parse in html...

Plz help

{
    "datas": {
        "show_dashboard_access_page": false,
        "login_status": "signedin",
        "new_io": true,
        "bst_users": [{
            "userA": {
                "user_logo": "image path",
                "partner_since": "Jan 2013",
                "status_now": "bronze",
                "year_calculated": 2016,
                "total": 300000,
                "year_wise_usage": 123000,
                "storage_wise_usage": 73000,
                "server_wise_usage": 50000,
                "order": 1
            },
            "userB": {
                "user_logo": "image path",
                "partner_since": "Feb 2014",
                "status_now": "silver",
                "year_calculated": 2016,
                "total": 300000,
                "year_wise_usage": 160000,
                "storage_wise_usage": 60000,
                "server_wise_usage": 100000,
                "order": 2
            },
            "userC": {
                "user_logo": "image path",
                "partner_since": "Mar 2014",
                "status_now": "silver",
                "year_calculated": 2016,
                "total": 300000,
                "year_wise_usage": 180000,
                "storage_wise_usage": 80000,
                "server_wise_usage": 100000,
                "order": 3
            }
            }]
    },
    "success": true
}
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥15 怎么在matlab中输出显示泵的流量-扬程和管路损失与流量均在一个表格里
    • ¥15 matlab学期例题代码答疑
    • ¥50 Hadoop:好友推荐
    • ¥15 在线手电筒追加按钮JS
    • ¥15 调用函数时,无关变量的改变引起函数值的改变
    • ¥15 xy坐标转化为经纬度坐标
    • ¥15 一般三角模糊数的上界值和下届值取中值的多少比较合理?
    • ¥15 cuda安装使用问题
    • ¥15 关于#python#的问题,请各位专家解答!
    • ¥20 Hbase启动失败,无法启动HMaster