moved ng-style and ng-class of booking directive to have script based computation rather than embedded in html