var app = angular.module("myApp",[]); // 此處的myApp就是html中ng-app對應的值
app.controller("MyController",function($scope){
$scope.textValue = {
text : "hello111"
};
})
app.controller("MyController",function($scope){
$scope.textValue = {
text : "hello111"
};
})
2016-05-12
講課程,為啥不一步步推進。為啥不把每一細節講清楚。一個功能的實現,再看下代碼,不講清楚每行代碼幾個意思,代碼誰先誰后,誰TM的能聽懂啊
2016-05-09