2014-10-21から1日間の記事一覧
配列のバインディング JavaScriptで以下のように、myListにJSON形式で配列を作成。 var app = angular.module('myApp', ['onsen.directives']); app.controller('listCtrl',function($scope){ $scope.myList = [{'id':1,'item':'test1'},{'id':2,'item':'tes…
配列のバインディング JavaScriptで以下のように、myListにJSON形式で配列を作成。 var app = angular.module('myApp', ['onsen.directives']); app.controller('listCtrl',function($scope){ $scope.myList = [{'id':1,'item':'test1'},{'id':2,'item':'tes…