search

Home  >  Q&A  >  body text

angular.js - Questions about angular filters?

How to get the data filtered by angular filter

给我你的怀抱给我你的怀抱2827 days ago628

reply all(1)I'll reply

  • 给我你的怀抱

    给我你的怀抱2017-05-15 17:00:23

    Get it in the module

    angular.module('tset', ['$filter', function($filter){
        var a = 10;
        var b = $filter('currency')(a, '¥');
    }])

    reply
    0
  • Cancelreply