yunity-archive / ARCHIVED-yunity-webapp-mobile

Mobile webapp
GNU Affero General Public License v3.0
6 stars 1 forks source link

Figure out an easy way to check if a user is logged in that works anywhere #28

Closed copygirl closed 8 years ago

copygirl commented 8 years ago

@nicksellen suggested something like the following:

<md-button class="md-icon-button" ng-if-logged-in>

instead of what we currently have, which is the following, plus some code in the controller to make session available.

<md-button class="md-icon-button" ng-if="ctrl.session.loggedIn">