最新回答 / 雷欧奥特曼
It is a known AngularJS issue. AngularJS itself prevents to many iterations to avoid infinite loops.There is a possible workaround but it can harm other parts of your code:$rootScopeProvider.digestTtl(15);This changes the limit of the ten iterations to fi...
2015-09-08
最新回答 / 老汪仔
下面是使用@的写法<div ng-controller="MyCtrl"> <drink hahaha="{{ctrlFlavor}}"></drink> </div>var myModule = angular.module("MyModule", []);myModule.controller('MyCtrl', ['$scope', function($scope){ $scope.ctrlFlavor="百威";}])myMo...
2015-08-18