标签:
ng-app
ng-controller
ng-module
ng-click
var app = angular.module("myApp",[]);
app.controller("myFirstController",["$scope",function($scope){
//操作
}]);
$rootScope //根
未完待续
初识angularJS
原文地址:http://www.cnblogs.com/wssb/p/4774688.html