AngularJS expressions in ng-style

AngularJS expressions in ng-style

HTML

<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.1.5/angular.min.js"></script>
<div ng-app="myApp">
    <div ng-controller='Ctrl'>
        <div ng-repeat='item in jsonContacts' ng-style="!isTrue && isTrue2 &&{'background-color':'green'}">{{item}}</div>
    </div>
</div>

JavaScript

var app = angular.module('myApp', []);

app.controller('Ctrl',['$scope','$rootScope',function($scope,$rootScope) {
    $scope.lastX=50;
    $scope.lastY=100;
    $scope.jsonContacts=[1,2,3];
    $scope.isTrue = false;
    $scope.isTrue2 = true;
}]);