代码
angularjs.html
AngualrJS进阶 { {msg}}
{ {msg}}
myctrl.js
angular.module('app',[]).controller('FirstCtrl',function($scope){ $scope.msg="hello angular";}).controller('SecondCtrl',function($scope){ $scope.msg="hello angularjs"})
本文共 369 字,大约阅读时间需要 1 分钟。
angularjs.html
AngualrJS进阶 { {msg}}
{ {msg}}
myctrl.js
angular.module('app',[]).controller('FirstCtrl',function($scope){ $scope.msg="hello angular";}).controller('SecondCtrl',function($scope){ $scope.msg="hello angularjs"})
转载于:https://my.oschina.net/u/2312175/blog/649879