@Kevie wrote:
I like to embed a directive (not controller) for each scope inside ng-repeater (e.g. news feed). If a user clicks 'Like' button, it will first post a token to a server, if the token is invalid, it will use ionic pop up to the screen for user login, else update the 'Like' button. I am not sure what's the best way to go about this.
Sorry about this post is very open ended. This is a common use case for apps but it can be complicated to implement efficiently. Appreciate any pointer.
Posts: 1
Participants: 1