Custom directive for rating movie