Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Protect single tab

$
0
0

@brandenwagner wrote:

I am trying to password protect just a single tab. How do i do that? i was trying to start very basic

If($scope.username != "admin")
{ $state.go('login) }

but that doesn't seem to do anything.
There are plenty of app examples that show how to create a login for an entire app, but i only want to protect a single view

I'm still learning ionic and angular.. so any help is greatly appreciated

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



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