replaced inline expressions with ng-bind directive