# v0.9.27 Alpha Salamander released - Last before beta!

**URL:** <https://forum.ionicframework.com/t/v0-9-27-alpha-salamander-released-last-before-beta/1887>\
**Category:** uncategorized\
**Created:** [March 15, 2014, 5:41pm UTC](https://forum.ionicframework.com/t/v0-9-27-alpha-salamander-released-last-before-beta/1887 "2014-03-15T17:41:04Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![andy](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/andy/32/64157_2.png) [@andy](https://forum.ionicframework.com/u/andy)\
**Post date:** [March 17, 2014, 2:41am UTC](https://forum.ionicframework.com/t/v0-9-27-alpha-salamander-released-last-before-beta/1887/12 "2014-03-17T02:41:09Z")

</div>

Have you tried using ng-class?

`<ion-item ng-class="{active: currentState() == 'login'>`

```auto
function Ctrl($scope, $state) {
  $scope.currentState = function() {
    return $state.current;
  };
}

```

---

_[View the full topic](https://forum.ionicframework.com/t/v0-9-27-alpha-salamander-released-last-before-beta/1887)._
