Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49076

Directive with ng-repeater for view responding to token authentication condition

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>