An angularjs directive that take care of visualising a star rating bar