angularjs怎么加载页面运行函数?

angularjs怎么加载页面运行函数


皈依舞
浏览 1147回答 1
1回答

尚方宝剑之说

var module = angular.module('testApp', []) .controller('myC',function(){ $scope.ta = [1,2,3,4,5,6]; }) .directive('onFinishRender', function () { return { restrict: 'A', link: function (scope, element, attr) { if (scope.$last
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

AngularJS