missing/misplaced brackets in ionic-rating.js

Fixed for those with no coffeescript compiler