03 2014 档案
AngularJS Tabular Data with Edit/Update/Delete
摘要:效果首先,我们先建立一些数据,当然你可以从你任何地方读出你的数据var app = angular.module('plunker', ['ui.bootstrap']);app.controller('MainCtrl', function($scope) { $scope.name = 'World'; $scope.employees =[{id:101, name:'John', phone:'555-1276'}, {id:102, name:'Mary', phone:&
阅读全文
AngularJS Boostrap Pagination Sample
摘要:首先,样式是这样的 首先,Service端是Webapi REST JSON格式 第二,我们建立一个Wrapper Class,这里你也可以定义一个Generic,作为示例,我们这里直接使用List 后端分页使用Entity Framework,这里呢,pageSize我们默认为5, 示例的JSON结果 然后我们要引用两个AngularJS,一个是AngularJS本身,一个是Angul...
阅读全文
浙公网安备 33010602011771号