【文件属性】:
文件名称:underscore-ng:AngularJS的Underscore.js工厂
文件大小:2KB
文件格式:ZIP
更新时间:2021-05-26 13:09:26
JavaScript
下划线
AngularJS的Underscore.js工厂
安装
bower install underscore-ng --save
用法
var app = angular . module ( 'app' , [ 'underscore' ] ) ;
app . controller ( 'Controller' , [ '_' , function ( $scope , _ ) {
$scope . first = _ . first ( [ 5 , 4 , 3 , 2 , 1 ] ) ;
} ] ) ;
【文件预览】:
underscore-ng-master
----bower.json(478B)
----underscore-ng.js(145B)
----LICENSE(1KB)
----README.md(297B)
----.gitignore(18B)