Sharing Top Content from the Angular-sphere.

ng-reactions

ng-reactions | Angular Module to create a rating widget |  #angularjs

  • Is an Angular directive for reactions like rating on services, which will allow customers to choose the reaction on the service like the latest facebook reactions, its fully customizable directive, can integrate any images instead of default.
  • font reactions

    Image reactions

  • ng-reactions | Angular Module to create a rating widget
  • var app = angular.module(‘myApp’, [‘ng-reactions’]);` Inject or use in controller app.controller(‘reactionCtrl’, function($scope) { //cerate the reaction object with following fields, below is the list of reactions $scope.reactionList = [{ selected: ‘none’, minRating: 1, readOnly: false },{ selected: 1, minRating: 1, readOnly: false },{ selected: -1, minRating: 1, readOnly: true }]
  • Add the ng-reactions module as a dependency when creating your app, e.g.

Read the full article, click here.


@ng_directives: “ng-reactions | Angular Module to create a rating widget | #angularjs”


ng-reactions is an Angular directive for reactions like rating on services, which will allow customers to choose the reaction


ng-reactions

Comments are closed, but trackbacks and pingbacks are open.