阅读背景:

AngularJS ng-click功能不会将信息带到新视图

来源:互联网 

I am trying to make a friends list. I have it set up so a user can search for friends and click on their image to see their profile, this takes them to the profile where there is information displayed that I have in an array in my service. I have an 'add friend' button that when clicked, changes into a 'remove friend' button and is supposed to add that friend to a new html view. There are a few problems I am running into that I can't seem to figure out. 1) the button is changing for every user when only clicked on 1 users profile. 2) the user is not being added to the friends view.I am trying to make a friends list. I have it s




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: